@@ -16466,3 +16466,23 @@ IPv6 address should be surrounded by square brackets.")
(synopsis "VarInt encoding/decoding via Data.Binary")
(description "Binary VarInt implements VarInt encoding and decoding.")
(license license:bsd-3)))
+
+(define-public ghc-multihash-cryptonite
+ (package
+ (name "ghc-multihash-cryptonite")
+ (version "0.1.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (hackage-uri "multihash-cryptonite" version))
+ (sha256
+ (base32 "0gl13kjqz14lnwz7x162fad3j99qs1xa3zabpr30q53pkzk8adsi"))))
+ (build-system haskell-build-system)
+ (inputs (list ghc-binary-varint ghc-cryptonite ghc-hashable ghc-memory))
+ (native-inputs (list ghc-hedgehog ghc-doctest ghc-cabal-doctest))
+ (home-page "https://github.com/monadic-xyz/ipfs")
+ (synopsis "Multihash implementation for Haskell")
+ (description
+ "Multihash Cryptonite implements self-identifying hashes as an
+implementation of https://github.com/multiformats/multihash")
+ (license license:bsd-3)))