aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorFederico Beffa <beffa@fbengineering.ch>2015-03-27 16:31:56 +0100
committerFederico Beffa <beffa@fbengineering.ch>2015-04-08 17:31:12 +0200
commitdf596b948d605484bdca37d0ed17b98054b70ce0 (patch)
treeaf467f0d1c4b5bda7f9d1fa01bd9bd12f9d1bb98 /gnu/packages
parentc3b90c0edb0f04b504adeb96f7dbd35ab8170965 (diff)
downloadguix-df596b948d605484bdca37d0ed17b98054b70ce0.tar.gz
guix-df596b948d605484bdca37d0ed17b98054b70ce0.zip
gnu: Add ghc-random.
* gnu/packages/haskell.scm (ghc-random): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/haskell.scm20
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index cb11a07060..d1320b0e5c 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -435,4 +435,24 @@ combine hash values.")
JUnit tool for Java.")
(license bsd-3)))
+(define-public ghc-random
+ (package
+ (name "ghc-random")
+ (version "1.1")
+ (outputs '("out" "doc"))
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "http://hackage.haskell.org/package/random/random-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32 "0nis3lbkp8vfx8pkr6v7b7kr5m334bzb0fk9vxqklnp2aw8a865p"))))
+ (build-system haskell-build-system)
+ (home-page "http://hackage.haskell.org/package/random")
+ (synopsis "Random number library")
+ (description "This package provides a basic random number generation
+library, including the ability to split random number generators.")
+ (license bsd-3)))
;;; haskell.scm ends here