[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
226/257: gnu: Add ghc-cryptohash-sha256.
From: |
Ricardo Wurmus |
Subject: |
226/257: gnu: Add ghc-cryptohash-sha256. |
Date: |
Thu, 27 Sep 2018 15:47:34 -0400 (EDT) |
rekado pushed a commit to branch wip-haskell
in repository guix.
commit b06df59603e13d93598472645f7ef6bfd20e11cc
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")
- 243/257: gnu: ghc-persistent-sqlite: Update to 2.8.2., (continued)
- 243/257: gnu: ghc-persistent-sqlite: Update to 2.8.2., Ricardo Wurmus, 2018/09/27
- 246/257: gnu: ghc-esqueleto: Update to commit b81e0d9., Ricardo Wurmus, 2018/09/27
- 228/257: gnu: Add ghc-hackage-security., Ricardo Wurmus, 2018/09/27
- 249/257: gnu: ghc-haddock-api: Update to 2.19.0.1., Ricardo Wurmus, 2018/09/27
- 240/257: gnu: ghc-warp-tls: Update to 3.2.4.3., Ricardo Wurmus, 2018/09/27
- 231/257: gnu: ghc-feed: Update to 1.0.0.0., Ricardo Wurmus, 2018/09/27
- 245/257: gnu: ghc-aws: Update to 0.20., Ricardo Wurmus, 2018/09/27
- 134/257: gnu: ghc-highlighting-kate: Update to 0.6.4., Ricardo Wurmus, 2018/09/27
- 237/257: gnu: ghc-persistent-template: Update to 2.5.4., Ricardo Wurmus, 2018/09/27
- 217/257: gnu: ghc-wai-extra: Update to 3.0.24.2., Ricardo Wurmus, 2018/09/27
- 226/257: gnu: Add ghc-cryptohash-sha256.,
Ricardo Wurmus <=
- 248/257: gnu: ghc-yesod-persistent: Update to 1.6.0., Ricardo Wurmus, 2018/09/27
- 241/257: gnu: Add ghc-rio., Ricardo Wurmus, 2018/09/27
- 250/257: gnu: ghc-pandoc: Adjust tests and test dependency constraints., Ricardo Wurmus, 2018/09/27
- 244/257: gnu: Add ghc-tree-diff., Ricardo Wurmus, 2018/09/27
- 213/257: gnu: ghc-rebase: Update to 1.2.4., Ricardo Wurmus, 2018/09/27
- 233/257: gnu: ghc-persistent: Update to 2.8.2., Ricardo Wurmus, 2018/09/27
- 239/257: gnu: Remove old versions of ghc-doctest., Ricardo Wurmus, 2018/09/27
- 227/257: ghc: Add ghc-ed25519., Ricardo Wurmus, 2018/09/27
- 232/257: gnu: ghc-lens: Update to 4.16.1., Ricardo Wurmus, 2018/09/27
- 234/257: gnu: ghc-warp: Update to 3.2.23., Ricardo Wurmus, 2018/09/27