Subject: [bug#72844] [PATCH 4/4] gnu: Add go-github-com-ipfs-go-ipfs-posinfo.

From: "Artyom V. Poptsov" <[email-masked]>
Date: Wed, 28 Aug 2024 00:09:36 +0300

* gnu/packages/ipfs.scm (go-github-com-ipfs-go-ipfs-posinfo): New variable.

Change-Id: I19486debf95e0877d735fd18fab9faf1cf26c484
---
 gnu/packages/ipfs.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/ipfs.scm b/gnu/packages/ipfs.scm
index af95ca86f3..6089dd7362 100644
--- a/gnu/packages/ipfs.scm
+++ b/gnu/packages/ipfs.scm
@@ -165,6 +165,30 @@ (define-public go-github-com-ipfs-go-ipfs-blocksutil
 @url{https://github.com/ipfs/go-block-format, IPFS blocks}.")
       (license license:expat))))
 
+(define-public go-github-com-ipfs-go-ipfs-posinfo
+  (package
+    (name "go-github-com-ipfs-go-ipfs-posinfo")
+    (version "0.0.2")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/ipfs/go-ipfs-posinfo")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1wgd3708gr42f37dcva41w1pkb5iywf8jdx6pgfhwwlw2s4lrn0p"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "github.com/ipfs/go-ipfs-posinfo"))
+    (propagated-inputs (list go-github-com-ipfs-go-ipld-format))
+    (home-page "https://github.com/ipfs/go-ipfs-posinfo")
+    (synopsis "Wrap offset information for IPFS filestore nodes")
+    (description
+     "@code{go-ipfs-posinfo} wraps offset information for IPFS filestore nodes.")
+    (license license:expat)))
+
 (define-public go-github-com-ipfs-go-cid
   (package
     (name "go-github-com-ipfs-go-cid")
-- 
2.45.2