diff options
author | ng0 <ng0@we.make.ritual.n0.is> | 2016-09-18 16:09:44 +0000 |
---|---|---|
committer | Leo Famulari <leo@famulari.name> | 2016-09-22 20:09:52 -0400 |
commit | c763b8ae899ea92a38f168f457423d9d3059cbb2 (patch) | |
tree | 4028aacee7f392d36b794200c509f8d3adc7308a /gnu/packages/haskell.scm | |
parent | eddc69241be61ffca6b3709e78d508183a51f7d3 (diff) | |
download | guix-c763b8ae899ea92a38f168f457423d9d3059cbb2.tar guix-c763b8ae899ea92a38f168f457423d9d3059cbb2.tar.gz |
gnu: Add ghc-cryptohash.
* gnu/packages/haskell.scm (ghc-cryptohash): New variable.
Signed-off-by: Leo Famulari <leo@famulari.name>
Diffstat (limited to 'gnu/packages/haskell.scm')
-rw-r--r-- | gnu/packages/haskell.scm | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm index 6fda9d8135..e8a89b0289 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm @@ -6484,4 +6484,36 @@ implement a custom format if needed. Serialisation speeds of over 1 G\\/sec hav been observed, so this library should be suitable for high performance scenarios.") (license license:bsd-3))) +(define-public ghc-cryptohash + (package + (name "ghc-cryptohash") + (version "0.11.9") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/cryptohash/cryptohash-" + version ".tar.gz")) + (sha256 + (base32 + "1yr2iyb779znj79j3fq4ky8l1y8a600a2x1fx9p5pmpwq5zq93y2")))) + (build-system haskell-build-system) + (inputs + `(("ghc-byteable" ,ghc-byteable) + ("ghc-cryptonite" ,ghc-cryptonite) + ("ghc-memory" ,ghc-memory) + ("ghc-hunit" ,ghc-hunit) + ("ghc-quickcheck" ,ghc-quickcheck) + ("ghc-tasty" ,ghc-tasty) + ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck) + ("ghc-tasty-hunit" ,ghc-tasty-hunit))) + (home-page "http://github.com/vincenthz/hs-cryptohash") + (synopsis "Collection of cryptographic hashes in Haskell") + (description + "A collection of crypto hashes, with a practical incremental and one-pass, +pure APIs, with performance close to the fastest implementations available in +other languages. The implementations are made in C with a haskell FFI wrapper +that hides the C implementation.") + (license license:bsd-3))) + ;;; haskell.scm ends here |