summary refs log tree commit diff
path: root/gnu/packages/haskell.scm
diff options
context:
space:
mode:
authorFederico Beffa <beffa@fbengineering.ch>2015-03-27 17:27:11 +0100
committerFederico Beffa <beffa@fbengineering.ch>2015-04-08 17:31:12 +0200
commit4af803a7c055bc1f651a6cee1c31addb1bc68aa7 (patch)
tree3a92c2fe5c366b54f9d17de9a9ee48fdf4501c8b /gnu/packages/haskell.scm
parentdf596b948d605484bdca37d0ed17b98054b70ce0 (diff)
downloadguix-4af803a7c055bc1f651a6cee1c31addb1bc68aa7.tar.gz
gnu: Add ghc-primitive.
* gnu/packages/haskell.scm (ghc-primitive): New variable.
Diffstat (limited to 'gnu/packages/haskell.scm')
-rw-r--r--gnu/packages/haskell.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index d1320b0e5c..e25da78e00 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -455,4 +455,28 @@ JUnit tool for Java.")
     (description "This package provides a basic random number generation
 library, including the ability to split random number generators.")
     (license bsd-3)))
+
+(define-public ghc-primitive
+  (package
+    (name "ghc-primitive")
+    (version "0.5.4.0")
+    (outputs '("out" "doc"))
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "http://hackage.haskell.org/package/primitive/primitive-"
+             version
+             ".tar.gz"))
+       (sha256
+        (base32
+         "05gdgj383xdrdkhxh26imlvs8ji0z28ny38ms9snpvv5i8l2lg10"))))
+    (build-system haskell-build-system)
+    (home-page
+     "https://github.com/haskell/primitive")
+    (synopsis "Primitive memory-related operations")
+    (description
+     "This package provides various primitive memory-related operations.")
+    (license bsd-3)))
+
 ;;; haskell.scm ends here