[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#28884] [PATCH 22/38] gnu: Add ghc-crypto-api.
From: |
rsiddharth |
Subject: |
[bug#28884] [PATCH 22/38] gnu: Add ghc-crypto-api. |
Date: |
Wed, 18 Oct 2017 03:07:42 +0000 |
* gnu/packages/haskell.scm (ghc-crypto-api): New variable.
---
gnu/packages/haskell.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 6f6673896..0f18dd6c6 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -9667,4 +9667,35 @@ which consume random values.")
to obtain cryptographically strong entropy.")
(license license:bsd-3)))
+(define-public ghc-crypto-api
+ (package
+ (name "ghc-crypto-api")
+ (version "0.13.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://hackage.haskell.org/package/"
+ "crypto-api-" version "/"
+ "crypto-api-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1vc27qcgbg7hf50rkqhlrs58zn1888ilh4b6wrrm07bnm48xacak"))))
+ (build-system haskell-build-system)
+ (inputs `(("ghc-cereal" ,ghc-cereal)
+ ("ghc-tagged" ,ghc-tagged)
+ ("ghc-entropy" ,ghc-entropy)))
+ (home-page "https://github.com/TomMD/crypto-api")
+ (synopsis "Provides generic interface for cryptographic operations
+for Haskell")
+ (description "This Haskell package provides a generic interface for
+cryptographic operations (hashes, ciphers, randomness).
+
+Maintainers of hash and cipher implementations are encouraged to add instances
+for the classes defined in @code{Crypto.Classes}. @code{Crypto} users are
+similarly encouraged to use the interfaces defined in the @code{Classes}
module.
+
+Any concepts or functions of general use to more than one cryptographic
+algorithm (ex: padding) is within scope of this package.")
+ (license license:bsd-3)))
+
;;; haskell.scm ends here
--
2.15.0.rc0
- [bug#28884] [PATCH 13/38] gnu: ghc-base-orphans: Update to 0.6., (continued)
- [bug#28884] [PATCH 13/38] gnu: ghc-base-orphans: Update to 0.6., rsiddharth, 2017/10/17
- [bug#28884] [PATCH 15/38] gnu: Add ghc-chunked-data., rsiddharth, 2017/10/17
- [bug#28884] [PATCH 14/38] gnu: Add ghc-statistics., rsiddharth, 2017/10/17
- [bug#28884] [PATCH 21/38] gnu: Add ghc-entropy., rsiddharth, 2017/10/17
- [bug#28884] [PATCH 19/38] gnu: Add ghc-monadrandom., rsiddharth, 2017/10/17
- [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 <=
- [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, 2017/10/17
- [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