From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul van der Walt Subject: [PATCH 19/43] gnu: ghc-setenv: New variable. Date: Thu, 15 Oct 2015 14:21:13 +0200 Message-ID: <1444911697-15515-19-git-send-email-paul@denknerd.org> References: <1444911697-15515-1-git-send-email-paul@denknerd.org> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48456) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZmhYE-0002Uu-1M for guix-devel@gnu.org; Thu, 15 Oct 2015 08:22:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZmhY8-000740-EO for guix-devel@gnu.org; Thu, 15 Oct 2015 08:22:30 -0400 Received: from mx01.mykolab.com ([95.128.36.1]:48129 helo=mx-out03.mykolab.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZmhY8-00073Z-7v for guix-devel@gnu.org; Thu, 15 Oct 2015 08:22:24 -0400 Received: from mx08.mykolab.com (unknown [10.20.7.48]) by mx-out03.mykolab.com (Postfix) with ESMTPS id 75E2A23572 for ; Thu, 15 Oct 2015 14:22:22 +0200 (CEST) In-Reply-To: <1444911697-15515-1-git-send-email-paul@denknerd.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org * gnu/packages/haskell.scm (ghc-setenv): New variable. * gnu/packages/haskell.scm (ghc-stringbuilder): New variable. --- gnu/packages/haskell.scm | 48 +++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 47 insertions(+), 1 deletion(-) diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm index cb2af0a..ad6547b 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm @@ -20,7 +20,7 @@ (define-module (gnu packages haskell) #:use-module (ice-9 regex) - #:use-module ((guix licenses) #:select (bsd-3 lgpl2.1)) + #:use-module ((guix licenses) #:select (bsd-3 lgpl2.1 expat)) #:use-module (guix packages) #:use-module (guix download) #:use-module (guix utils) @@ -592,6 +592,29 @@ for encoding UTF8 strings to Word8 lists and back, and for reading and writing UTF8 without truncation.") (license bsd-3))) +(define-public ghc-setenv + (package + (name "ghc-setenv") + (version "0.1.1.3") + (source + (origin + (method url-fetch) + (uri (string-append + "http://hackage.haskell.org/package/setenv/setenv-" + version + ".tar.gz")) + (sha256 + (base32 + "0cnbgrvb9byyahb37zlqrj05rj25v190crgcw8wmlgf0mwwxyn73")))) + (build-system haskell-build-system) + (home-page + "http://hackage.haskell.org/package/setenv") + (synopsis + "A cross-platform library for setting environment variables") + (description + "A cross-platform library for setting environment variables.") + (license expat))) + (define-public ghc-x11 (package (name "ghc-x11") @@ -652,6 +675,29 @@ bindings are a direct translation of the C bindings.") parts.") (license lgpl2.1))) +(define-public ghc-stringbuilder + (package + (name "ghc-stringbuilder") + (version "0.5.0") + (source + (origin + (method url-fetch) + (uri (string-append + "http://hackage.haskell.org/package/stringbuilder/stringbuilder-" + version + ".tar.gz")) + (sha256 + (base32 + "1ap95xphqnrhv64c2a137wqslkdmb2jjd9ldb17gs1pw48k8hrl9")))) + (build-system haskell-build-system) + (arguments `(#:tests? #f)) ; circular dependencies with tests enabled + (inputs + `(("ghc-quickcheck" ,ghc-quickcheck))) + (home-page "http://hackage.haskell.org/package/stringbuilder") + (synopsis "A writer monad for multi-line string literals") + (description "A writer monad for multi-line string literals") + (license expat))) + (define-public ghc-zlib (package (name "ghc-zlib") -- 2.6.1