[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#50835] [PATCH v2 19/24] gnu: Add ghc-base32-z-bytestring.
From: |
Stephen Paul Weber |
Subject: |
[bug#50835] [PATCH v2 19/24] gnu: Add ghc-base32-z-bytestring. |
Date: |
Thu, 13 Jan 2022 21:45:41 -0500 |
* gnu/packages/haskell-xyz.scm (ghc-base32-z-bytestring): New variable.
---
gnu/packages/haskell-xyz.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index 92b3d99b19..93b81f19de 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -16504,3 +16504,36 @@ implementation of
https://github.com/multiformats/multihash")
"CPU is a library to get basic lowlevel properties of the cpu platform,
like endianness and architecture.")
(license license:bsd-3)))
+
+(define-public ghc-base32-z-bytestring
+ (package
+ (name "ghc-base32-z-bytestring")
+ (version "1.0.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (hackage-uri "base32-z-bytestring" version))
+ (sha256
+ (base32 "1r0235a2qqnavsm7jl807m555yd2k2vi2kfacw878v83zdr5qyix"))))
+ (build-system haskell-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'fix-internal-reference
+ (lambda _
+ (substitute* "base32-z-bytestring.cabal"
+ (("z-base32-bytestring") "base32-z-bytestring")))))))
+ (inputs (list ghc-cpu))
+ (native-inputs
+ (list ghc-hedgehog
+ ghc-tasty
+ ghc-tasty-fail-fast
+ ghc-tasty-hedgehog
+ ghc-tasty-hspec))
+ (home-page "https://github.com/oscoin/base32-z-bytestring")
+ (synopsis "Fast z-base32 and z-base32hex codec for ByteStrings")
+ (description
+ "Base32-Z-ByteString is an implementation of the base32 and base32hex
+codecs according to RFC4648, extended to support z-base32 encoding according to
+https://gist.github.com/maaku/8996338#file-bip-ecc32-mediawiki.")
+ (license license:bsd-3)))
--
2.30.2
- [bug#50835] [PATCH v2 09/24] gnu: Add ghc-network-protocol-xmpp., (continued)
- [bug#50835] [PATCH v2 09/24] gnu: Add ghc-network-protocol-xmpp., Stephen Paul Weber, 2022/01/13
- [bug#50835] [PATCH v2 11/24] gnu: Add ghc-base58-bytestring., Stephen Paul Weber, 2022/01/13
- [bug#50835] [PATCH v2 14/24] gnu: Add ghc-stm-delay., Stephen Paul Weber, 2022/01/13
- [bug#50835] [PATCH v2 03/24] gnu: Add ghc-hedis., Stephen Paul Weber, 2022/01/13
- [bug#50835] [PATCH v2 10/24] gnu: Add ghc-unexceptionalio-trans., Stephen Paul Weber, 2022/01/13
- [bug#50835] [PATCH v2 12/24] gnu: Add ghc-hstatsd., Stephen Paul Weber, 2022/01/13
- [bug#50835] [PATCH v2 13/24] gnu: Add ghc-random-shuffle., Stephen Paul Weber, 2022/01/13
- [bug#50835] [PATCH v2 15/24] gnu: Add ghc-hostandport., Stephen Paul Weber, 2022/01/13
- [bug#50835] [PATCH v2 16/24] gnu: Add ghc-binary-varint., Stephen Paul Weber, 2022/01/13
- [bug#50835] [PATCH v2 17/24] gnu: Add ghc-multihash-cryptonite., Stephen Paul Weber, 2022/01/13
- [bug#50835] [PATCH v2 19/24] gnu: Add ghc-base32-z-bytestring.,
Stephen Paul Weber <=
- [bug#50835] [PATCH v2 18/24] gnu: Add ghc-cpu., Stephen Paul Weber, 2022/01/13
- [bug#50835] [PATCH v2 23/24] gnu: Add ghc-multibase., Stephen Paul Weber, 2022/01/13
- [bug#50835] [PATCH v2 24/24] gnu: Add ghc-ipld-cid., Stephen Paul Weber, 2022/01/13
- [bug#50835] [PATCH v2 21/24] gnu: Add ghc-tasty-tap., Stephen Paul Weber, 2022/01/13
- [bug#50835] [PATCH v2 20/24] gnu: Add ghc-formatting., Stephen Paul Weber, 2022/01/13
- [bug#50835] [PATCH v2 22/24] gnu: Add ghc-tasty-fail-fast., Stephen Paul Weber, 2022/01/13