[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#28884] [PATCH 27/38] gnu: Add ghc-cryptohash-sha1.
From: |
rsiddharth |
Subject: |
[bug#28884] [PATCH 27/38] gnu: Add ghc-cryptohash-sha1. |
Date: |
Wed, 18 Oct 2017 03:07:47 +0000 |
* gnu/packages/haskell.scm (ghc-cryptohash-sha1): New variable.
---
gnu/packages/haskell.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 544e02dc0..bba133ce1 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -9803,4 +9803,36 @@ interface.")
(description "This Haskell package provides implementation of MD5.")
(license license:bsd-3)))
+(define-public ghc-cryptohash-sha1
+ (package
+ (name "ghc-cryptohash-sha1")
+ (version "0.11.100.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://hackage.haskell.org/package/"
+ "cryptohash-sha1-" version "/"
+ "cryptohash-sha1-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1aqdxdhxhl9jldh951djpwxx8z7gzaqspxl7iwpl84i5ahrsyy9w"))))
+ (build-system haskell-build-system)
+ (arguments
+ `(#:tests? #f)) ; tests require old version of ghc-hunit (0.9)
+ (native-inputs `(("ghc-base16-bytestring" ,ghc-base16-bytestring)
+ ("ghc-sha" ,ghc-sha)
+ ("ghc-tasty" ,ghc-tasty)
+ ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
+ ("ghc-hunit" ,ghc-hunit)))
+ (home-page "https://github.com/hvr/cryptohash-sha1")
+ (synopsis "SHA-1 Implementation for Haskell")
+ (description "This Haskell package provides an incremental and one-pass,
+pure API to the @uref{https://en.wikipedia.org/wiki/SHA-1, SHA-1 hash
algorithm},
+including @uref{https://en.wikipedia.org/wiki/HMAC, HMAC support}, with
+performance close to the fastest implementations available in other languages.
+
+The implementation is made in C with a haskell FFI wrapper that hides
+the C implementation.")
+ (license license:bsd-3)))
+
;;; haskell.scm ends here
--
2.15.0.rc0
- [bug#28884] [PATCH 17/38] gnu: Add ghc-tuple-th., (continued)
- [bug#28884] [PATCH 17/38] gnu: Add ghc-tuple-th., rsiddharth, 2017/10/17
- [bug#28884] [PATCH 18/38] gnu: Add ghc-contravariant-extras., rsiddharth, 2017/10/17
- [bug#28884] [PATCH 16/38] gnu: Add ghc-base-prelude., rsiddharth, 2017/10/17
- [bug#28884] [PATCH 20/38] gnu: Add ghc-either., rsiddharth, 2017/10/17
- [bug#28884] [PATCH 23/38] gnu: Add ghc-crypto-api-tests., rsiddharth, 2017/10/17
- [bug#28884] [PATCH 22/38] gnu: Add ghc-crypto-api., rsiddharth, 2017/10/17
- [bug#28884] [PATCH 24/38] gnu: Add ghc-pretty-hex., rsiddharth, 2017/10/17
- [bug#28884] [PATCH 25/38] gnu: Add ghc-puremd5, rsiddharth, 2017/10/17
- [bug#28884] [PATCH 26/38] gnu: Add ghc-cryptohash-md5., rsiddharth, 2017/10/17
- [bug#28884] [PATCH 27/38] gnu: Add ghc-cryptohash-sha1.,
rsiddharth <=
- [bug#28884] [PATCH 32/38] gnu: Add ghc-vector-builder., rsiddharth, 2017/10/17
- [bug#28884] [PATCH 28/38] gnu: Add ghc-network-info., rsiddharth, 2017/10/17
- [bug#28884] [PATCH 29/38] gnu: Add ghc-uuid-types., rsiddharth, 2017/10/17
- [bug#28884] [PATCH 31/38] gnu: Add ghc-rebase., rsiddharth, 2017/10/17
- [bug#28884] [PATCH 33/38] gnu: Add ghc-foldl., rsiddharth, 2017/10/17
- [bug#28884] [PATCH 30/38] gnu: Add ghc-uuid., rsiddharth, 2017/10/17
- [bug#28884] [PATCH 34/38] gnu: Add ghc-mono-traversable., rsiddharth, 2017/10/17
- [bug#28884] [PATCH 35/38] gnu: ghc-conduit: Update to 1.2.12.1., rsiddharth, 2017/10/17