unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: "Artyom V. Poptsov" <poptsov.artyom@gmail.com>
To: 71953@debbugs.gnu.org
Cc: "Artyom V. Poptsov" <poptsov.artyom@gmail.com>
Subject: [bug#71953] [PATCH 2/3] gnu: Add go-github-com-ipfs-go-ipld-cbor.
Date: Fri,  5 Jul 2024 21:28:21 +0300	[thread overview]
Message-ID: <ab427bf07824af4cb603ba8be3c0704982fc84ce.1720203985.git.poptsov.artyom@gmail.com> (raw)
In-Reply-To: <cover.1720203985.git.poptsov.artyom@gmail.com>

* 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





  parent reply	other threads:[~2024-07-05 18:30 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-05 18:26 [bug#71953] [PATCH 0/3] gnu: kubo: Unbundle go-github-com-ipfs-go-ipld-cbor Artyom V. Poptsov
2024-07-05 18:28 ` [bug#71953] [PATCH 1/3] gnu: Add go-github-com-whyrusleeping-cbor-gen Artyom V. Poptsov
2024-07-05 18:28 ` Artyom V. Poptsov [this message]
2024-07-05 18:28 ` [bug#71953] [PATCH 3/3] gnu: kubo: Unbundle go-github-com-ipfs-go-ipld-cbor Artyom V. Poptsov
2024-07-06 17:14 ` [bug#71953] [PATCH 0/3] " Sharlatan Hellseher
2024-07-07  7:22   ` Artyom V. Poptsov
2024-07-07 15:11 ` bug#71953: " Sharlatan Hellseher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ab427bf07824af4cb603ba8be3c0704982fc84ce.1720203985.git.poptsov.artyom@gmail.com \
    --to=poptsov.artyom@gmail.com \
    --cc=71953@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).