unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#71953] [PATCH v2 1/3] gnu: Add go-github-com-whyrusleeping-cbor-gen.
       [not found] <cover.1720336290.git.poptsov.artyom@gmail.com>
@ 2024-07-07  7:13 ` Artyom V. Poptsov
  2024-07-07  7:13 ` [bug#71953] [PATCH v2 2/3] gnu: Add go-github-com-ipfs-go-ipld-cbor Artyom V. Poptsov
  2024-07-07  7:13 ` [bug#71953] [PATCH v2 3/3] gnu: kubo: Unbundle go-github-com-ipfs-go-ipld-cbor Artyom V. Poptsov
  2 siblings, 0 replies; 3+ messages in thread
From: Artyom V. Poptsov @ 2024-07-07  7:13 UTC (permalink / raw)
  To: 71953; +Cc: Artyom V. Poptsov

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

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

diff --git a/gnu/packages/ipfs.scm b/gnu/packages/ipfs.scm
index d75a99c4e1..f5ccd6cb8f 100644
--- a/gnu/packages/ipfs.scm
+++ b/gnu/packages/ipfs.scm
@@ -449,6 +449,34 @@ (define-public go-github-com-ipfs-go-log
       #: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")
-- 
2.45.2





^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [bug#71953] [PATCH v2 2/3] gnu: Add go-github-com-ipfs-go-ipld-cbor.
       [not found] <cover.1720336290.git.poptsov.artyom@gmail.com>
  2024-07-07  7:13 ` [bug#71953] [PATCH v2 1/3] gnu: Add go-github-com-whyrusleeping-cbor-gen Artyom V. Poptsov
@ 2024-07-07  7:13 ` Artyom V. Poptsov
  2024-07-07  7:13 ` [bug#71953] [PATCH v2 3/3] gnu: kubo: Unbundle go-github-com-ipfs-go-ipld-cbor Artyom V. Poptsov
  2 siblings, 0 replies; 3+ messages in thread
From: Artyom V. Poptsov @ 2024-07-07  7:13 UTC (permalink / raw)
  To: 71953; +Cc: Artyom V. Poptsov

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

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

diff --git a/gnu/packages/ipfs.scm b/gnu/packages/ipfs.scm
index f5ccd6cb8f..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")
-- 
2.45.2





^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [bug#71953] [PATCH v2 3/3] gnu: kubo: Unbundle go-github-com-ipfs-go-ipld-cbor.
       [not found] <cover.1720336290.git.poptsov.artyom@gmail.com>
  2024-07-07  7:13 ` [bug#71953] [PATCH v2 1/3] gnu: Add go-github-com-whyrusleeping-cbor-gen Artyom V. Poptsov
  2024-07-07  7:13 ` [bug#71953] [PATCH v2 2/3] gnu: Add go-github-com-ipfs-go-ipld-cbor Artyom V. Poptsov
@ 2024-07-07  7:13 ` Artyom V. Poptsov
  2 siblings, 0 replies; 3+ messages in thread
From: Artyom V. Poptsov @ 2024-07-07  7:13 UTC (permalink / raw)
  To: 71953; +Cc: Artyom V. Poptsov

* gnu/packages/ipfs.scm (kubo): Unbundle go-github-com-ipfs-go-ipld-cbor.
[inputs]: Add go-github-com-ipfs-go-ipld-cbor.

Change-Id: I8edd09e134dee725f1ecaf8f4296c74c4cc5f37c
---
 gnu/packages/ipfs.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/ipfs.scm b/gnu/packages/ipfs.scm
index 3c137818ae..6a6bd81caf 100644
--- a/gnu/packages/ipfs.scm
+++ b/gnu/packages/ipfs.scm
@@ -669,6 +669,7 @@ (define-public kubo
                              "vendor/github.com/ipfs/go-detect-race"
                              "vendor/github.com/ipfs/go-ipfs-delay"
                              "vendor/github.com/ipfs/go-ipfs-util"
+                             "vendor/github.com/ipfs/go-ipld-cbor"
                              "vendor/github.com/ipfs/go-ipld-format"
                              "vendor/github.com/ipfs/go-log"
                              "vendor/github.com/ipld/go-ipld-prime"
@@ -754,7 +755,7 @@ (define-public kubo
                   ;;go-github-com-ipfs-go-ds-measure
                   ;;go-github-com-ipfs-go-fs-lock
                   ;;go-github-com-ipfs-go-ipfs-cmds
-                  ;;go-github-com-ipfs-go-ipld-cbor
+                  go-github-com-ipfs-go-ipld-cbor
                   go-github-com-ipfs-go-ipld-format
                   ;;go-github-com-ipfs-go-ipld-git
                   ;;go-github-com-ipfs-go-ipld-legacy
-- 
2.45.2





^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-07-07  7:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <cover.1720336290.git.poptsov.artyom@gmail.com>
2024-07-07  7:13 ` [bug#71953] [PATCH v2 1/3] gnu: Add go-github-com-whyrusleeping-cbor-gen Artyom V. Poptsov
2024-07-07  7:13 ` [bug#71953] [PATCH v2 2/3] gnu: Add go-github-com-ipfs-go-ipld-cbor Artyom V. Poptsov
2024-07-07  7:13 ` [bug#71953] [PATCH v2 3/3] gnu: kubo: Unbundle go-github-com-ipfs-go-ipld-cbor Artyom V. Poptsov

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).