gnu: Add ghc-containers.
authorFederico Beffa <beffa@fbengineering.ch>
Fri, 27 Mar 2015 16:59:16 +0000 (17:59 +0100)
committerFederico Beffa <beffa@fbengineering.ch>
Wed, 8 Apr 2015 15:31:12 +0000 (17:31 +0200)
* gnu/packages/haskell.scm (ghc-containers): New variable.

gnu/packages/haskell.scm

index 0ae6d92..c3f9e57 100644 (file)
@@ -602,4 +602,34 @@ of constructor applications, instances of this class for primitive
 types, and a variety of traversals.")
     (license bsd-3)))
 
+(define-public ghc-containers
+  (package
+    (name "ghc-containers")
+    (version "0.5.6.3")
+    (outputs '("out" "doc"))
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "http://hackage.haskell.org/package/containers/containers-"
+             version
+             ".tar.gz"))
+       (sha256
+        (base32
+         "1kcd55nl0vzi99i8sr8fmc5j25fv7m0a9hd3nihnq1pd64pfciqn"))))
+    (build-system haskell-build-system)
+    (inputs
+     `(("ghc-hunit" ,ghc-hunit)
+       ("ghc-quickcheck" ,ghc-quickcheck)))
+    (arguments
+     `(#:tests? #f)) ; FIXME: currently missing libraries used for tests.
+    (home-page "http://hackage.haskell.org/package/containers")
+    (synopsis "Assorted concrete container types")
+    (description
+     "This package contains efficient general-purpose implementations of
+various basic immutable container types.  The declared cost of each operation
+is either worst-case or amortized, but remains valid even if structures are
+shared.")
+    (license bsd-3)))
+
 ;;; haskell.scm ends here