diff options
author | rsiddharth <s@ricketyspace.net> | 2018-03-21 03:44:50 +0000 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2018-03-31 19:26:50 +0200 |
commit | 13c281672d6c51cb425263d660cca913668e4761 (patch) | |
tree | 04f03b3d03b4d554f07c62f02bae24eed7577bef /gnu/packages/haskell-crypto.scm | |
parent | d91acee78f323f7bf7fb2818822c504026446dd4 (diff) | |
download | gnu-guix-13c281672d6c51cb425263d660cca913668e4761.tar gnu-guix-13c281672d6c51cb425263d660cca913668e4761.tar.gz |
gnu: Add ghc-crypto-random.
* gnu/packages/haskell-crypto.scm (ghc-crypto-random): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages/haskell-crypto.scm')
-rw-r--r-- | gnu/packages/haskell-crypto.scm | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/haskell-crypto.scm b/gnu/packages/haskell-crypto.scm index 6086525480..c501f3685f 100644 --- a/gnu/packages/haskell-crypto.scm +++ b/gnu/packages/haskell-crypto.scm @@ -592,3 +592,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))) |