[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
226/272: gnu: Add ghc-cryptohash-sha256.
From: |
Ricardo Wurmus |
Subject: |
226/272: gnu: Add ghc-cryptohash-sha256. |
Date: |
Mon, 1 Oct 2018 06:13:51 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit bf7e5884321ee4f4c4f3c83a647b92817b511453
Author: Timothy Sample <address@hidden>
Date: Sat Sep 22 09:43:20 2018 -0400
gnu: Add ghc-cryptohash-sha256.
* gnu/packages/haskell-crypto.scm (ghc-cryptohash-sha256): New variable.
---
gnu/packages/haskell-crypto.scm | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
diff --git a/gnu/packages/haskell-crypto.scm b/gnu/packages/haskell-crypto.scm
index ff44970..0d9617e 100644
--- a/gnu/packages/haskell-crypto.scm
+++ b/gnu/packages/haskell-crypto.scm
@@ -257,6 +257,42 @@ The implementation is made in C with a haskell FFI wrapper
that hides
the C implementation.")
(license license:bsd-3)))
+(define-public ghc-cryptohash-sha256
+ (package
+ (name "ghc-cryptohash-sha256")
+ (version "0.11.101.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://hackage.haskell.org/package/"
+ "cryptohash-sha256-" version "/"
+ "cryptohash-sha256-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1p85vajcgw9hmq8zsz9krzx0vxh7aggwbg5w9ws8w97avcsn8xaj"))))
+ (build-system haskell-build-system)
+ (arguments
+ `(#:cabal-revision
+ ("1" "19birnmwga1yh82l4jqc3fygqkqcf5y8dlldnxfswngkzc3rvwp3")
+ #:tests? #f)) ; tests require old version of ghc-hunit (0.9)
+ (inputs
+ `(("ghc-base16-bytestring" ,ghc-base16-bytestring)))
+ (native-inputs
+ `(("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-256 implementation for Haskell")
+ (description "This Haskell package provides an incremental and
+one-pass, pure API to the @uref{https://en.wikipedia.org/wiki/SHA-2,
+SHA-256 cryptographic hash algorithm}, 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)))
+
(define-public ghc-cryptonite
(package
(name "ghc-cryptonite")
- 177/272: gnu: ghc-glut: Update to 2.7.0.14., (continued)
- 177/272: gnu: ghc-glut: Update to 2.7.0.14., Ricardo Wurmus, 2018/10/01
- 186/272: gnu: agda: Update to 2.5.4.1., Ricardo Wurmus, 2018/10/01
- 184/272: gnu: ghc-tls: Update to 1.4.1., Ricardo Wurmus, 2018/10/01
- 181/272: gnu: ghc-http-date: Update to 0.0.8., Ricardo Wurmus, 2018/10/01
- 189/272: gnu: ghc-connection: Update to 0.2.8., Ricardo Wurmus, 2018/10/01
- 202/272: gnu: ghc-http-client-tls: Update to 0.3.5.3., Ricardo Wurmus, 2018/10/01
- 180/272: gnu: ghc-hslua: Update to 0.9.5.2., Ricardo Wurmus, 2018/10/01
- 201/272: gnu: ghc-free: Update to 5.0.2., Ricardo Wurmus, 2018/10/01
- 193/272: gnu: ghc-lifted-async: Update to 0.10.0.2., Ricardo Wurmus, 2018/10/01
- 208/272: gnu: ghc-either: Update to 5.0.1., Ricardo Wurmus, 2018/10/01
- 226/272: gnu: Add ghc-cryptohash-sha256.,
Ricardo Wurmus <=
- 236/272: gnu: ghc-chart: Update to 1.9., Ricardo Wurmus, 2018/10/01
- 234/272: gnu: ghc-warp: Update to 3.2.23., Ricardo Wurmus, 2018/10/01
- 215/272: gnu: idris: Update to 1.3.0., Ricardo Wurmus, 2018/10/01
- 268/272: gnu: shellcheck: Update to 0.5.0., Ricardo Wurmus, 2018/10/01
- 195/272: gnu: ghc-profunctors: Update Cabal file to r2., Ricardo Wurmus, 2018/10/01
- 205/272: gnu: ghc-skylighting: Update to 0.7.2., Ricardo Wurmus, 2018/10/01
- 223/272: gnu: ghc-simple-sendfile: Update to 0.2.27., Ricardo Wurmus, 2018/10/01
- 212/272: gnu: ghc-kan-extensions: Update to 5.2., Ricardo Wurmus, 2018/10/01
- 235/272: gnu: xmobar: Update to 0.28., Ricardo Wurmus, 2018/10/01
- 241/272: gnu: Add ghc-rio., Ricardo Wurmus, 2018/10/01