From 3d6f9f3fb1cb71e4f23061d01d5caeb20a583c97 Mon Sep 17 00:00:00 2001 From: John Soo Date: Sun, 26 Jan 2020 10:56:10 -0800 Subject: [PATCH 13/34] gnu: Add ghc-crypto-pubkey-types. * gnu/packages/haskell-xyz.scm (ghc-crypto-pubkey-types): New variable. --- gnu/packages/haskell-xyz.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index f792ab201b..2ff6df66ae 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -2593,6 +2593,31 @@ option to turn off macro-expansion.") "Crypto-api interfaces for cryptohash.") (license license:bsd-3))) +(define-public ghc-crypto-pubkey-types + (package + (name "ghc-crypto-pubkey-types") + (version "0.4.3") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/crypto-pubkey-types/" + "crypto-pubkey-types-" version ".tar.gz")) + (sha256 + (base32 + "0q0wlzjmpx536h1zcdzrpxjkvqw8abj8z0ci38138kpch4igbnby")))) + (build-system haskell-build-system) + (inputs + `(("ghc-asn1-types" ,ghc-asn1-types) + ("ghc-asn1-encoding" ,ghc-asn1-encoding))) + (home-page + "https://github.com/vincenthz/hs-crypto-pubkey-types") + (synopsis + "Generic cryptography Public keys algorithm types") + (description + "Generic cryptography public keys algorithm types") + (license license:bsd-3))) + (define-public ghc-data-accessor (package (name "ghc-data-accessor") -- 2.25.0