unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#72129] [PATCH 0/4] gnu: kubo: Unbundle go-github-com-{ipfs-go-ipld-legacy, ipld-go-codec-dagpb}.
@ 2024-07-15 20:03 Artyom V. Poptsov
  2024-07-15 20:04 ` [bug#72129] [PATCH 1/4] gnu: Add go-github-com-ipfs-go-ipld-legacy Artyom V. Poptsov
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Artyom V. Poptsov @ 2024-07-15 20:03 UTC (permalink / raw)
  To: 72129; +Cc: Artyom V. Poptsov

This patchset adds two packages and unbunldes them from Kubo.

Artyom V. Poptsov (4):
  gnu: Add go-github-com-ipfs-go-ipld-legacy.
  gnu: kubo: Unbundle go-github-com-ipfs-go-ipld-legacy.
  gnu: Add go-github-com-ipld-go-codec-dagpb.
  gnu: kubo: Unbundle go-github-com-ipld-go-codec-dagpb.

 gnu/packages/ipfs.scm | 64 +++++++++++++++++++++++++++++++++++++++++--
 1 file changed, 62 insertions(+), 2 deletions(-)


base-commit: 3689faac5c10249f052c979b527cba26054170d8
-- 
2.45.2





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

* [bug#72129] [PATCH 1/4] gnu: Add go-github-com-ipfs-go-ipld-legacy.
  2024-07-15 20:03 [bug#72129] [PATCH 0/4] gnu: kubo: Unbundle go-github-com-{ipfs-go-ipld-legacy, ipld-go-codec-dagpb} Artyom V. Poptsov
@ 2024-07-15 20:04 ` Artyom V. Poptsov
  2024-07-15 20:04 ` [bug#72129] [PATCH 2/4] gnu: kubo: Unbundle go-github-com-ipfs-go-ipld-legacy Artyom V. Poptsov
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Artyom V. Poptsov @ 2024-07-15 20:04 UTC (permalink / raw)
  To: 72129; +Cc: Artyom V. Poptsov

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

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

diff --git a/gnu/packages/ipfs.scm b/gnu/packages/ipfs.scm
index daf68903c2..e57399d6d9 100644
--- a/gnu/packages/ipfs.scm
+++ b/gnu/packages/ipfs.scm
@@ -373,6 +373,36 @@ (define-public go-github-com-ipfs-go-ipld-format
 order to be a part of the @acronym{IPLD, InterPlanetary Linked Data} merkle-forest.")
     (license license:expat)))
 
+(define-public go-github-com-ipfs-go-ipld-legacy
+  (package
+    (name "go-github-com-ipfs-go-ipld-legacy")
+    (version "0.2.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/ipfs/go-ipld-legacy")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0sc2zc3lyxy30fzynwdpfrl8jhh1ynwixn1crrv8hzn93yix6550"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:go go-1.21
+      #:import-path "github.com/ipfs/go-ipld-legacy"))
+    (native-inputs (list go-github-com-stretchr-testify))
+    (propagated-inputs (list go-github-com-ipfs-go-block-format
+                             go-github-com-ipfs-go-cid
+                             go-github-com-ipfs-go-ipld-format
+                             go-github-com-ipld-go-ipld-prime))
+    (home-page "https://github.com/ipfs/go-ipld-legacy")
+    (synopsis "Translation layer for IPLD legacy code")
+    (description
+     "@code{go-ipld-format} is a translation layer between @code{go-ipld-prime} nodes
+and @code{go-ipld-format} legacy interface.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public go-github-com-ipld-go-ipld-prime
   (package
     (name "go-github-com-ipld-go-ipld-prime")
-- 
2.45.2





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

* [bug#72129] [PATCH 2/4] gnu: kubo: Unbundle go-github-com-ipfs-go-ipld-legacy.
  2024-07-15 20:03 [bug#72129] [PATCH 0/4] gnu: kubo: Unbundle go-github-com-{ipfs-go-ipld-legacy, ipld-go-codec-dagpb} Artyom V. Poptsov
  2024-07-15 20:04 ` [bug#72129] [PATCH 1/4] gnu: Add go-github-com-ipfs-go-ipld-legacy Artyom V. Poptsov
@ 2024-07-15 20:04 ` Artyom V. Poptsov
  2024-07-15 20:04 ` [bug#72129] [PATCH 3/4] gnu: Add go-github-com-ipld-go-codec-dagpb Artyom V. Poptsov
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Artyom V. Poptsov @ 2024-07-15 20:04 UTC (permalink / raw)
  To: 72129; +Cc: Artyom V. Poptsov

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

Change-Id: Ifca764014cf03db9260c139a3e83387d20b23983
---
 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 e57399d6d9..22fbce25b6 100644
--- a/gnu/packages/ipfs.scm
+++ b/gnu/packages/ipfs.scm
@@ -744,6 +744,7 @@ (define-public kubo
                              "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-ipld-legacy"
                              "vendor/github.com/ipfs/go-ipld-git"
                              "vendor/github.com/ipfs/go-log"
                              "vendor/github.com/ipld/go-ipld-prime"
@@ -833,7 +834,7 @@ (define-public kubo
                   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
+                  go-github-com-ipfs-go-ipld-legacy
                   go-github-com-ipfs-go-log
                   go-github-com-ipfs-go-log-v2
                   ;;go-github-com-ipfs-go-metrics-interface
-- 
2.45.2





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

* [bug#72129] [PATCH 3/4] gnu: Add go-github-com-ipld-go-codec-dagpb.
  2024-07-15 20:03 [bug#72129] [PATCH 0/4] gnu: kubo: Unbundle go-github-com-{ipfs-go-ipld-legacy, ipld-go-codec-dagpb} Artyom V. Poptsov
  2024-07-15 20:04 ` [bug#72129] [PATCH 1/4] gnu: Add go-github-com-ipfs-go-ipld-legacy Artyom V. Poptsov
  2024-07-15 20:04 ` [bug#72129] [PATCH 2/4] gnu: kubo: Unbundle go-github-com-ipfs-go-ipld-legacy Artyom V. Poptsov
@ 2024-07-15 20:04 ` Artyom V. Poptsov
  2024-07-15 20:04 ` [bug#72129] [PATCH 4/4] gnu: kubo: Unbundle go-github-com-ipld-go-codec-dagpb Artyom V. Poptsov
  2024-07-18 22:16 ` bug#72129: [PATCH 0/4] gnu: kubo: Unbundle go-github-com-{ipfs-go-ipld-legacy, ipld-go-codec-dagpb} Sharlatan Hellseher
  4 siblings, 0 replies; 6+ messages in thread
From: Artyom V. Poptsov @ 2024-07-15 20:04 UTC (permalink / raw)
  To: 72129; +Cc: Artyom V. Poptsov

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

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

diff --git a/gnu/packages/ipfs.scm b/gnu/packages/ipfs.scm
index 22fbce25b6..ab6b907653 100644
--- a/gnu/packages/ipfs.scm
+++ b/gnu/packages/ipfs.scm
@@ -403,6 +403,34 @@ (define-public go-github-com-ipfs-go-ipld-legacy
 and @code{go-ipld-format} legacy interface.")
     (license (list license:expat license:asl2.0))))
 
+(define-public go-github-com-ipld-go-codec-dagpb
+  (package
+    (name "go-github-com-ipld-go-codec-dagpb")
+    (version "1.6.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/ipld/go-codec-dagpb")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1jbrwbgr222wsi95gdflbj350csja6k8vphdq7c9bm50ipr8bvkq"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:go go-1.21
+      #:import-path "github.com/ipld/go-codec-dagpb"))
+    (propagated-inputs (list go-github-com-ipfs-go-cid
+                             go-github-com-ipld-go-ipld-prime
+                             go-google-golang-org-protobuf))
+    (home-page "https://github.com/ipld/go-codec-dagpb/")
+    (synopsis "Implementation of the DAG-PB spec for Go")
+    (description
+     "An implementation of the @url{https://ipld.io/, IPLD DAG-PB} spec for
+@code{go-ipld-prime}.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public go-github-com-ipld-go-ipld-prime
   (package
     (name "go-github-com-ipld-go-ipld-prime")
-- 
2.45.2





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

* [bug#72129] [PATCH 4/4] gnu: kubo: Unbundle go-github-com-ipld-go-codec-dagpb.
  2024-07-15 20:03 [bug#72129] [PATCH 0/4] gnu: kubo: Unbundle go-github-com-{ipfs-go-ipld-legacy, ipld-go-codec-dagpb} Artyom V. Poptsov
                   ` (2 preceding siblings ...)
  2024-07-15 20:04 ` [bug#72129] [PATCH 3/4] gnu: Add go-github-com-ipld-go-codec-dagpb Artyom V. Poptsov
@ 2024-07-15 20:04 ` Artyom V. Poptsov
  2024-07-18 22:16 ` bug#72129: [PATCH 0/4] gnu: kubo: Unbundle go-github-com-{ipfs-go-ipld-legacy, ipld-go-codec-dagpb} Sharlatan Hellseher
  4 siblings, 0 replies; 6+ messages in thread
From: Artyom V. Poptsov @ 2024-07-15 20:04 UTC (permalink / raw)
  To: 72129; +Cc: Artyom V. Poptsov

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

Change-Id: I54f1e7a6f1ae78c920b8f30e85595c2db294ef43
---
 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 ab6b907653..4feac96c0f 100644
--- a/gnu/packages/ipfs.scm
+++ b/gnu/packages/ipfs.scm
@@ -775,6 +775,7 @@ (define-public kubo
                              "vendor/github.com/ipfs/go-ipld-legacy"
                              "vendor/github.com/ipfs/go-ipld-git"
                              "vendor/github.com/ipfs/go-log"
+                             "vendor/github.com/ipld/go-codec-dagpb"
                              "vendor/github.com/ipld/go-ipld-prime"
                              "vendor/github.com/jackpal"
                              "vendor/github.com/jbenet"
@@ -872,7 +873,7 @@ (define-public kubo
                   ;;go-github-com-ipfs-shipyard-nopfs-ipfs
                   ;;go-github-com-ipld-go-car
                   ;;go-github-com-ipld-go-car-v2
-                  ;;go-github-com-ipld-go-codec-dagpb
+                  go-github-com-ipld-go-codec-dagpb
                   go-github-com-ipld-go-ipld-prime
                   go-github-com-jbenet-go-random
                   go-github-com-jbenet-go-temp-err-catcher
-- 
2.45.2





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

* bug#72129: [PATCH 0/4] gnu: kubo: Unbundle go-github-com-{ipfs-go-ipld-legacy, ipld-go-codec-dagpb}.
  2024-07-15 20:03 [bug#72129] [PATCH 0/4] gnu: kubo: Unbundle go-github-com-{ipfs-go-ipld-legacy, ipld-go-codec-dagpb} Artyom V. Poptsov
                   ` (3 preceding siblings ...)
  2024-07-15 20:04 ` [bug#72129] [PATCH 4/4] gnu: kubo: Unbundle go-github-com-ipld-go-codec-dagpb Artyom V. Poptsov
@ 2024-07-18 22:16 ` Sharlatan Hellseher
  4 siblings, 0 replies; 6+ messages in thread
From: Sharlatan Hellseher @ 2024-07-18 22:16 UTC (permalink / raw)
  To: 72129-done

[-- Attachment #1: Type: text/plain, Size: 426 bytes --]


Hi,

Thank you for your ongoing work for unbundle Kubo's endless vendor
abyss!

I've pushed your patches as 524abb6474..88bcee3235 to master.

- patches [3/3]
  - [X] [PATCH 1/4] gnu: Add go-github-com-ipfs-go-ipld-legacy.
  - [X] [PATCH 3/4] gnu: Add go-github-com-ipld-go-codec-dagpb.
  - [X] Merged to "gnu: kubo: Unbundle more inputs"
    - [X] [PATCH 2/4] gnu: kubo: Unbundle go-github-com-ipfs-go-ipld-legacy.

--
Oleg

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

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

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

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-15 20:03 [bug#72129] [PATCH 0/4] gnu: kubo: Unbundle go-github-com-{ipfs-go-ipld-legacy, ipld-go-codec-dagpb} Artyom V. Poptsov
2024-07-15 20:04 ` [bug#72129] [PATCH 1/4] gnu: Add go-github-com-ipfs-go-ipld-legacy Artyom V. Poptsov
2024-07-15 20:04 ` [bug#72129] [PATCH 2/4] gnu: kubo: Unbundle go-github-com-ipfs-go-ipld-legacy Artyom V. Poptsov
2024-07-15 20:04 ` [bug#72129] [PATCH 3/4] gnu: Add go-github-com-ipld-go-codec-dagpb Artyom V. Poptsov
2024-07-15 20:04 ` [bug#72129] [PATCH 4/4] gnu: kubo: Unbundle go-github-com-ipld-go-codec-dagpb Artyom V. Poptsov
2024-07-18 22:16 ` bug#72129: [PATCH 0/4] gnu: kubo: Unbundle go-github-com-{ipfs-go-ipld-legacy, ipld-go-codec-dagpb} Sharlatan Hellseher

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).