sharlatan pushed a commit to branch master
in repository guix.

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

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

diff --git a/gnu/packages/ipfs.scm b/gnu/packages/ipfs.scm
index bdfa88bd94..2248c6f3cd 100644
--- a/gnu/packages/ipfs.scm
+++ b/gnu/packages/ipfs.scm
@@ -449,6 +449,34 @@ their levels to be controlled individually.")
       #:go go-1.21
       #:import-path "github.com/ipfs/go-log"))))
 
+(define-public go-github-com-whyrusleeping-cbor-gen
+  (package
+    (name "go-github-com-whyrusleeping-cbor-gen")
+    (version "v0.0.0-20230818171029-f91ae536ca25")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/whyrusleeping/cbor-gen";)
+             (commit (go-version->git-ref version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "08by7pqh4fcwf2va01iif75yqkfssi6d48334404mmv9jmhzim60"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "github.com/whyrusleeping/cbor-gen"))
+    (propagated-inputs
+     (list go-github-com-ipfs-go-cid
+           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 the specified types")
+    (description
+     "Basic utilities to generate fast path @url{https://cbor.io/, CBOR} 
codecs for
+types.")
+    (license license:expat)))
+
 (define-public gx
   (package
     (name "gx")

Reply via email to