Subject: [bug#50835] [PATCH v2 16/24] gnu: Add ghc-binary-varint.

From: Stephen Paul Weber <[email-masked]>
Date: Thu, 13 Jan 2022 21:45:38 -0500

* gnu/packages/haskell-xyz.scm (ghc-binary-varint): New variable.
---
 gnu/packages/haskell-xyz.scm | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index c4fd46fcab..1534b454ef 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -16450,3 +16450,19 @@ it falls back to forked threads and threadDelay.")
 Host can be either ipv4, ipv6 or domain name and port are optional.
 IPv6 address should be surrounded by square brackets.")
     (license license:expat)))
+
+(define-public ghc-binary-varint
+  (package
+    (name "ghc-binary-varint")
+    (version "0.1.0.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (hackage-uri "binary-varint" version))
+        (sha256
+          (base32 "1i183ab4bbq3yarijnb2pwgbi9k1w1nc0fs6ph8d8xnysj6ws8l8"))))
+    (build-system haskell-build-system)
+    (home-page "https://github.com/monadic-xyz/ipfs")
+    (synopsis "VarInt encoding/decoding via Data.Binary")
+    (description "Binary VarInt implements VarInt encoding and decoding.")
+    (license license:bsd-3)))
-- 
2.30.2