guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 19/43] gnu: ghc-setenv: New variable.


From: Paul van der Walt
Subject: [PATCH 19/43] gnu: ghc-setenv: New variable.
Date: Thu, 15 Oct 2015 14:21:13 +0200

* 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]