[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#30892] [PATCH 12/37] gnu: Add ghc-crypto-random.
From: |
rsiddharth |
Subject: |
[bug#30892] [PATCH 12/37] gnu: Add ghc-crypto-random. |
Date: |
Wed, 21 Mar 2018 03:44:50 +0000 |
* gnu/packages/haskell-crypto.scm (ghc-crypto-random): New variable.
---
gnu/packages/haskell-crypto.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/gnu/packages/haskell-crypto.scm b/gnu/packages/haskell-crypto.scm
index b51727db5..9dff57546 100644
--- a/gnu/packages/haskell-crypto.scm
+++ b/gnu/packages/haskell-crypto.scm
@@ -591,3 +591,25 @@ including very popular one (openssl, gnutls) also uses
similar
implementation. If it matters for your case, you should make sure you have
AES-NI available, or you'll need to use a different implementation.")
(license license:bsd-3)))
+
+(define-public ghc-crypto-random
+ (package
+ (name "ghc-crypto-random")
+ (version "0.0.9")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://hackage.haskell.org/package/"
+ "crypto-random-" version "/"
+ "crypto-random-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0139kbbb2h7vshf68y3fvjda29lhj7jjwl4vq78w4y8k8hc7l2hp"))))
+ (build-system haskell-build-system)
+ (inputs `(("ghc-securemem" ,ghc-securemem)
+ ("ghc-vector" ,ghc-vector)))
+ (home-page "https://github.com/vincenthz/hs-crypto-random")
+ (synopsis "Simple cryptographic random related types for Haskell")
+ (description "Simple cryptographic random related types: a safe
+abstraction for CPRNGs.")
+ (license license:bsd-3)))
--
2.16.2
- [bug#30892] [PATCH 00/37] Add ghc-yesod and its dependencies., rsiddharth, 2018/03/20
- [bug#30892] [PATCH 01/37] gnu: ghc-chunked-data: Update inputs., rsiddharth, 2018/03/20
- [bug#30892] [PATCH 12/37] gnu: Add ghc-crypto-random.,
rsiddharth <=
- [bug#30892] [PATCH 14/37] gnu: Add ghc-clientsession., rsiddharth, 2018/03/20
- [bug#30892] [PATCH 13/37] gnu: Add ghc-cprng-aes., rsiddharth, 2018/03/20
- [bug#30892] [PATCH 02/37] gnu: Add ghc-stm-chans., rsiddharth, 2018/03/20
- [bug#30892] [PATCH 03/37] gnu: Add ghc-monad-loops., rsiddharth, 2018/03/20
- [bug#30892] [PATCH 10/37] gnu: Add ghc-crypto-cipher-tests., rsiddharth, 2018/03/20
- [bug#30892] [PATCH 06/37] gnu: Add ghc-path-pieces., rsiddharth, 2018/03/20
- [bug#30892] [PATCH 04/37] gnu: Add ghc-monad-logger., rsiddharth, 2018/03/20
- [bug#30892] [PATCH 08/37] gnu: Add ghc-securemem., rsiddharth, 2018/03/20
- [bug#30892] [PATCH 05/37] gnu: Add ghc-shakespeare., rsiddharth, 2018/03/20
- [bug#30892] [PATCH 11/37] gnu: Add ghc-cipher-aes., rsiddharth, 2018/03/20