guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#71953] [PATCH 2/3] gnu: Add go-github-com-ipfs-go-ipld-cbor.


From: Artyom V. Poptsov
Subject: [bug#71953] [PATCH 2/3] gnu: Add go-github-com-ipfs-go-ipld-cbor.
Date: Fri, 5 Jul 2024 21:28:21 +0300

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

Change-Id: I1a85366eb558fe3043fe39d8aabd4bf14f98a32a
---
 gnu/packages/ipfs.scm | 40 +++++++++++++++++++++++++++++++++++-----
 1 file changed, 35 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/ipfs.scm b/gnu/packages/ipfs.scm
index 373e73f4d2..3c137818ae 100644
--- a/gnu/packages/ipfs.scm
+++ b/gnu/packages/ipfs.scm
@@ -270,6 +270,38 @@ (define-public go-github-com-ipfs-go-ipfs-util
      "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")
@@ -471,12 +503,10 @@ (define-public go-github-com-whyrusleeping-cbor-gen
            go-github-com-google-go-cmp-cmp
            go-golang-org-x-xerrors))
     (home-page "https://github.com/whyrusleeping/cbor-gen";)
-    (synopsis "Codegen for cbor codecs on your types")
-    ;; There is not much information provided by the project, see
-    ;; <https://github.com/whyrusleeping/go-sysinfo/issues>.
+    (synopsis "Codegen for CBOR codecs on the specified types")
     (description
-     "Some basic utilities to generate fast path @url{https://cbor.io/, CBOR} 
codecs
-for your types.")
+     "Basic utilities to generate fast path @url{https://cbor.io/, CBOR} 
codecs for
+types.")
     (license license:expat)))
 
 (define-public gx
-- 
2.45.2






reply via email to

[Prev in Thread] Current Thread [Next in Thread]