From a054107ac0c5a905898fd54c4a5555ce190449fe Mon Sep 17 00:00:00 2001 From: John Soo Date: Sun, 26 Jan 2020 11:14:59 -0800 Subject: [PATCH 10/34] gnu: Add ghc-cryptohash-cryptoapi. * gnu/packages/haskell-xyz.scm (ghc-cryptohash-cryptoapi): New variable. --- gnu/packages/haskell-xyz.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 345a42330d..888c015567 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -2566,6 +2566,33 @@ include: a plain-text mode; an option to unlit literate code files; and an option to turn off macro-expansion.") (license license:lgpl2.1))) +(define-public ghc-cryptohash-cryptoapi + (package + (name "ghc-cryptohash-cryptoapi") + (version "0.1.4") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/cryptohash-cryptoapi" + "/cryptohash-cryptoapi-" version ".tar.gz")) + (sha256 + (base32 + "13h5f9pmcd0swa4asl7wzpf5lskpgjdqrmy1mqdc78gsxdj8cyki")))) + (build-system haskell-build-system) + (inputs + `(("ghc-memory" ,ghc-memory) + ("ghc-cryptonite" ,ghc-cryptonite) + ("ghc-crypto-api" ,ghc-crypto-api) + ("ghc-tagged" ,ghc-tagged) + ("ghc-cereal" ,ghc-cereal))) + (home-page + "https://github.com/vincenthz/hs-cryptohash-cryptoapi") + (synopsis "Crypto-api interfaces for cryptohash") + (description + "Crypto-api interfaces for cryptohash.") + (license license:bsd-3))) + (define-public ghc-data-accessor (package (name "ghc-data-accessor") -- 2.25.0