gnu: Add ghc-random.

* gnu/packages/haskell.scm (ghc-random): New variable.
This commit is contained in:
Federico Beffa 2015-03-27 16:31:56 +01:00
parent c3b90c0edb
commit df596b948d
1 changed files with 20 additions and 0 deletions

View File

@ -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