[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#44954] [PATCH 4/9] gnu: Add ghc-cryptonite-conduit.
From: |
Giacomo Leidi |
Subject: |
[bug#44954] [PATCH 4/9] gnu: Add ghc-cryptonite-conduit. |
Date: |
Fri, 4 Dec 2020 20:15:40 +0100 |
* gnu/packages/haskell-crypto.scm (ghc-cryptonite-conduit): New variable.
---
gnu/packages/haskell-crypto.scm | 39 +++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
diff --git a/gnu/packages/haskell-crypto.scm b/gnu/packages/haskell-crypto.scm
index c92dec9932..1d56327d29 100644
--- a/gnu/packages/haskell-crypto.scm
+++ b/gnu/packages/haskell-crypto.scm
@@ -838,3 +838,42 @@ implementation of SSL.")
(description "This library contains io-streams routines for secure
networking using OpenSSL (by way of HsOpenSSL).")
(license license:bsd-3)))
+
+(define-public ghc-cryptonite-conduit
+ (package
+ (name "ghc-cryptonite-conduit")
+ (version "0.2.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+
"https://hackage.haskell.org/package/cryptonite-conduit/cryptonite-conduit-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "1bldcmda4xh52mw1wfrjljv8crhw3al7v7kv1j0vidvr7ymnjpbh"))))
+ (build-system haskell-build-system)
+ (inputs
+ `(("ghc-conduit" ,ghc-conduit)
+ ("ghc-conduit-extra" ,ghc-conduit-extra)
+ ("ghc-cryptonite" ,ghc-cryptonite)
+ ("ghc-exceptions" ,ghc-exceptions)
+ ("ghc-memory" ,ghc-memory)
+ ("ghc-resourcet" ,ghc-resourcet)))
+ (native-inputs
+ `(("ghc-conduit-combinators"
+ ,ghc-conduit-combinators)
+ ("ghc-tasty" ,ghc-tasty)
+ ("ghc-tasty-hunit" ,ghc-tasty-hunit)
+ ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
+ (arguments
+ `(#:cabal-revision
+ ("1"
+ "1hh2nzfz4qpxgivfilgk4ll416lph8b2fdkzpzrmqfjglivydfmz")))
+ (home-page
+ "https://github.com/haskell-crypto/cryptonite-conduit")
+ (synopsis "Cryptonite bridge for conduit")
+ (description
+ "This package provides a conduit version for hash and hmac.")
+ (license license:bsd-3)))
--
2.29.2
- [bug#44954] [PATCH 1/9] gnu: ghc-yesod-core: Update to 1.6.17.2., Giacomo Leidi, 2020/12/04
- [bug#44954] [PATCH 3/9] gnu: Add ghc-wai-app-static., Giacomo Leidi, 2020/12/04
- [bug#44954] [PATCH 2/9] gnu: ghc-yesod-test: Update to 1.6.9., Giacomo Leidi, 2020/12/04
- [bug#44954] [PATCH 4/9] gnu: Add ghc-cryptonite-conduit.,
Giacomo Leidi <=
- [bug#44954] [PATCH 6/9] gnu: Add ghc-yesod-static., Giacomo Leidi, 2020/12/04
- [bug#44954] [PATCH 5/9] gnu: Add ghc-hjsmin., Giacomo Leidi, 2020/12/04
- [bug#44954] [PATCH 8/9] gnu: Add ghc-wai-cors., Giacomo Leidi, 2020/12/04
- [bug#44954] [PATCH 9/9] gnu: Add hledger-web., Giacomo Leidi, 2020/12/04
- [bug#44954] [PATCH 7/9] gnu: Add ghc-wai-handler-launch., Giacomo Leidi, 2020/12/04