[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
22/39: gnu: Add ghc-crypto-api.
From: |
Ludovic Courtès |
Subject: |
22/39: gnu: Add ghc-crypto-api. |
Date: |
Sun, 22 Oct 2017 18:32:43 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit e2f6116e782aa705161095e0ae792d395dadaea3
Author: rsiddharth <address@hidden>
Date: Wed Oct 18 03:07:42 2017 +0000
gnu: Add ghc-crypto-api.
* gnu/packages/haskell.scm (ghc-crypto-api): New variable.
Signed-off-by: Ludovic Courtès <address@hidden>
---
gnu/packages/haskell.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 3a64aa4..ad86fc1 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -9589,4 +9589,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
- 13/39: gnu: ghc-base-orphans: Update to 0.6., (continued)
- 13/39: gnu: ghc-base-orphans: Update to 0.6., Ludovic Courtès, 2017/10/22
- 10/39: gnu: Add ghc-monad-par-extras., Ludovic Courtès, 2017/10/22
- 08/39: gnu: Add ghc-test-framework-th., Ludovic Courtès, 2017/10/22
- 18/39: gnu: Add ghc-contravariant-extras., Ludovic Courtès, 2017/10/22
- 03/39: gnu: Add ghc-erf., Ludovic Courtès, 2017/10/22
- 21/39: gnu: Add ghc-entropy., Ludovic Courtès, 2017/10/22
- 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 <=
- 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, 2017/10/22
- 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