sharlatan pushed a commit to branch master
in repository guix.

commit ff1bb647b5d66af5fb1fbacdea08b46a6db90e77
Author: Artyom V. Poptsov <poptsov.art...@gmail.com>
AuthorDate: Sun Jul 7 10:13:03 2024 +0300

    gnu: Add go-github-com-ipfs-go-ipld-cbor.
    
    * gnu/packages/ipfs.scm (go-github-com-ipfs-go-ipld-cbor): New variable.
    
    Change-Id: I1a85366eb558fe3043fe39d8aabd4bf14f98a32a
    Signed-off-by: Sharlatan Hellseher <sharlata...@gmail.com>
---
 gnu/packages/ipfs.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/ipfs.scm b/gnu/packages/ipfs.scm
index 2248c6f3cd..f548e4a25e 100644
--- a/gnu/packages/ipfs.scm
+++ b/gnu/packages/ipfs.scm
@@ -270,6 +270,38 @@ throughout its lifetime.")
      "Common utilities used by @code{go-ipfs} and other related Go packages.")
     (license license:expat)))
 
+(define-public go-github-com-ipfs-go-ipld-cbor
+  (package
+    (name "go-github-com-ipfs-go-ipld-cbor")
+    (version "0.1.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/ipfs/go-ipld-cbor";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0yxk4sbf1fk9aaizzpz3h30049wqvaz0s3jnbdd5akhj7wg89h21"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:go go-1.21
+      #:import-path "github.com/ipfs/go-ipld-cbor"))
+    (propagated-inputs
+     (list go-github-com-ipfs-go-block-format
+           go-github-com-ipfs-go-cid
+           go-github-com-ipfs-go-ipfs-util
+           go-github-com-ipfs-go-ipld-format
+           go-github-com-multiformats-go-multihash
+           go-github-com-polydawn-refmt
+           go-github-com-whyrusleeping-cbor-gen))
+    (home-page "https://github.com/ipfs/go-ipld-cbor";)
+    (synopsis "A cbor implementation of the @code{go-ipld-format}")
+    (description
+     "An implementation of a @url{https://cbor.io/, CBOR} encoded merkledag 
object.")
+    (license license:expat)))
+
 (define-public go-github-com-ipfs-go-ipld-format
   (package
     (name "go-github-com-ipfs-go-ipld-format")

Reply via email to