[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
27/39: gnu: Add ghc-cryptohash-sha1.
From: |
Ludovic Courtès |
Subject: |
27/39: gnu: Add ghc-cryptohash-sha1. |
Date: |
Sun, 22 Oct 2017 18:32:44 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 0119f17f5deb8886300e656f720a6e536759a542
Author: rsiddharth <address@hidden>
Date: Wed Oct 18 03:07:47 2017 +0000
gnu: Add ghc-cryptohash-sha1.
* gnu/packages/haskell.scm (ghc-cryptohash-sha1): New variable.
Signed-off-by: Ludovic Courtès <address@hidden>
---
gnu/packages/haskell.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index c064cec..839d9fc 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -9724,4 +9724,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
- 12/39: gnu: Add ghc-monad-par., (continued)
- 12/39: gnu: Add ghc-monad-par., Ludovic Courtès, 2017/10/22
- 20/39: gnu: Add ghc-either., Ludovic Courtès, 2017/10/22
- 25/39: gnu: Add ghc-puremd5, Ludovic Courtès, 2017/10/22
- 14/39: gnu: Add ghc-statistics., Ludovic Courtès, 2017/10/22
- 22/39: gnu: Add ghc-crypto-api., Ludovic Courtès, 2017/10/22
- 35/39: gnu: ghc-conduit: Update to 1.2.12.1., Ludovic Courtès, 2017/10/22
- 26/39: gnu: Add ghc-cryptohash-md5., Ludovic Courtès, 2017/10/22
- 17/39: gnu: Add ghc-tuple-th., Ludovic Courtès, 2017/10/22
- 24/39: gnu: Add ghc-pretty-hex., Ludovic Courtès, 2017/10/22
- 28/39: gnu: Add ghc-network-info., Ludovic Courtès, 2017/10/22
- 27/39: gnu: Add ghc-cryptohash-sha1.,
Ludovic Courtès <=
- 29/39: gnu: Add ghc-uuid-types., Ludovic Courtès, 2017/10/22
- 23/39: gnu: Add ghc-crypto-api-tests., Ludovic Courtès, 2017/10/22
- 36/39: gnu: ghc-conduit: Fix lint error., Ludovic Courtès, 2017/10/22
- 37/39: gnu: Add ghc-conduit-combinators., Ludovic Courtès, 2017/10/22
- 15/39: gnu: Add ghc-chunked-data., Ludovic Courtès, 2017/10/22
- 33/39: gnu: Add ghc-foldl., Ludovic Courtès, 2017/10/22
- 34/39: gnu: Add ghc-mono-traversable., Ludovic Courtès, 2017/10/22
- 19/39: gnu: Add ghc-monadrandom., Ludovic Courtès, 2017/10/22
- 16/39: gnu: Add ghc-base-prelude., Ludovic Courtès, 2017/10/22
- 38/39: gnu: Add ghc-aws., Ludovic Courtès, 2017/10/22