diff mbox series

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

Message ID dc85e032bc50ec89146abe02aa4e7d46e2cf0449.1724792671.git.poptsov.artyom@gmail.com
State New
Headers show
Series gnu: kubo: Add some direct and indirect dependencies. | expand

Commit Message

Artyom V. Poptsov Aug. 27, 2024, 9:09 p.m. UTC
* 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 mbox series

Patch

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")