all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#72844] [PATCH 0/4] gnu: kubo: Add some direct and indirect dependencies.
@ 2024-08-27 21:08 Artyom V. Poptsov
  2024-08-27 21:09 ` [bug#72844] [PATCH 1/4] gnu: Add go-github-com-libp2p-go-doh-resolver Artyom V. Poptsov
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Artyom V. Poptsov @ 2024-08-27 21:08 UTC (permalink / raw)
  To: 72844; +Cc: Artyom V. Poptsov

This patchset unbundles another package from Kubo (IPFS) and adds some
indirect dependencies for it.

Although "go-github-com-ipfs-go-ipfs-posinfo" is archived on GitHub it is
still in use by "go-unixfs":
  https://github.com/ipfs/go-unixfs/blob/a7243ebfc36eaa89d79a39d3cef3fa1e60f7e49e/go.mod#L15

which in turn is a dependency of "go-unixfsnode":
  https://github.com/ipfs/go-unixfsnode/blob/8151e6f66ca15508a75219216f447395eb65991c/go.mod#L12

Artyom V. Poptsov (4):
  gnu: Add go-github-com-libp2p-go-doh-resolver.
  gnu: kubo: Unbundle go-github-com-libp2p-go-doh-resolver.
  gnu: Add go-github-com-ipfs-go-bitfield.
  gnu: Add go-github-com-ipfs-go-ipfs-posinfo.

 gnu/packages/golang-web.scm | 28 ++++++++++++++++++++++++++++
 gnu/packages/golang-xyz.scm | 25 +++++++++++++++++++++++++
 gnu/packages/ipfs.scm       | 27 ++++++++++++++++++++++++++-
 3 files changed, 79 insertions(+), 1 deletion(-)


base-commit: 1ee12c3c6ba8323881a0d5d5e8fb21f5fe26b51e
-- 
2.45.2





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

* [bug#72844] [PATCH 1/4] gnu: Add go-github-com-libp2p-go-doh-resolver.
  2024-08-27 21:08 [bug#72844] [PATCH 0/4] gnu: kubo: Add some direct and indirect dependencies Artyom V. Poptsov
@ 2024-08-27 21:09 ` Artyom V. Poptsov
  2024-08-27 21:09 ` [bug#72844] [PATCH 2/4] gnu: kubo: Unbundle go-github-com-libp2p-go-doh-resolver Artyom V. Poptsov
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Artyom V. Poptsov @ 2024-08-27 21:09 UTC (permalink / raw)
  To: 72844; +Cc: Artyom V. Poptsov

* gnu/packages/golang-web.scm (go-github-com-libp2p-go-doh-resolver): New variable.

Change-Id: I581c6032fbb9b6ffe74423172359b65ced119ab3
---
 gnu/packages/golang-web.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 9943891502..b3e583da39 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -2698,6 +2698,34 @@ (define-public go-github-com-libp2p-go-cidranger
 published AWS Route53 CIDR 52.95.110.0/24), IP routing rules, etc.")
     (license license:expat)))
 
+(define-public go-github-com-libp2p-go-doh-resolver
+  (package
+    (name "go-github-com-libp2p-go-doh-resolver")
+    (version "0.4.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/libp2p/go-doh-resolver")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0asni7f3gd65bjfqz99fqchz9y75cpgmfwkkhsbq0y2dydagw666"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "github.com/libp2p/go-doh-resolver"))
+    (native-inputs (list go-github-com-stretchr-testify))
+    (propagated-inputs (list go-github-com-miekg-dns
+                             go-github-com-multiformats-go-multiaddr-dns
+                             go-github-com-ipfs-go-log-v2))
+    (home-page "https://github.com/libp2p/go-doh-resolver")
+    (synopsis "DNS over HTTPS resolver")
+    (description
+     "@url{https://datatracker.ietf.org/doc/html/rfc8484, DNS over HTTPS}
+resolver for Golang.")
+    (license license:expat)))
+
 (define-public go-github-com-libp2p-go-flow-metrics
   (package
     (name "go-github-com-libp2p-go-flow-metrics")
-- 
2.45.2





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

* [bug#72844] [PATCH 2/4] gnu: kubo: Unbundle go-github-com-libp2p-go-doh-resolver.
  2024-08-27 21:08 [bug#72844] [PATCH 0/4] gnu: kubo: Add some direct and indirect dependencies Artyom V. Poptsov
  2024-08-27 21:09 ` [bug#72844] [PATCH 1/4] gnu: Add go-github-com-libp2p-go-doh-resolver Artyom V. Poptsov
@ 2024-08-27 21:09 ` Artyom V. Poptsov
  2024-08-27 21:09 ` [bug#72844] [PATCH 3/4] gnu: Add go-github-com-ipfs-go-bitfield Artyom V. Poptsov
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Artyom V. Poptsov @ 2024-08-27 21:09 UTC (permalink / raw)
  To: 72844; +Cc: Artyom V. Poptsov

* gnu/packages/ipfs.scm (kubo): [snippet]: Delete
"vendor/github.com/libp2p/go-doh-resolver".
[inputs]: Add go-github-com-libp2p-go-doh-resolver.

Change-Id: I417802e02b482164fdb65852a19187fb63bd9199
---
 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 d9866a8d9a..af95ca86f3 100644
--- a/gnu/packages/ipfs.scm
+++ b/gnu/packages/ipfs.scm
@@ -865,6 +865,7 @@ (define-public kubo
                              "vendor/github.com/koron"
                              "vendor/github.com/libp2p/go-buffer-pool"
                              "vendor/github.com/libp2p/go-cidranger"
+                             "vendor/github.com/libp2p/go-doh-resolver"
                              "vendor/github.com/libp2p/go-flow-metrics"
                              "vendor/github.com/libp2p/go-libp2p-asn-util"
                              "vendor/github.com/libp2p/go-msgio"
@@ -989,7 +990,7 @@ (define-public kubo
                   go-github-com-jbenet-go-temp-err-catcher
                   go-github-com-jbenet-goprocess
                   go-github-com-julienschmidt-httprouter
-                  ;;go-github-com-libp2p-go-doh-resolver
+                  go-github-com-libp2p-go-doh-resolver
                   ;;go-github-com-libp2p-go-libp2p
                   ;;go-github-com-libp2p-go-libp2p-http
                   ;;go-github-com-libp2p-go-libp2p-kad-dht
-- 
2.45.2





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

* [bug#72844] [PATCH 3/4] gnu: Add go-github-com-ipfs-go-bitfield.
  2024-08-27 21:08 [bug#72844] [PATCH 0/4] gnu: kubo: Add some direct and indirect dependencies Artyom V. Poptsov
  2024-08-27 21:09 ` [bug#72844] [PATCH 1/4] gnu: Add go-github-com-libp2p-go-doh-resolver Artyom V. Poptsov
  2024-08-27 21:09 ` [bug#72844] [PATCH 2/4] gnu: kubo: Unbundle go-github-com-libp2p-go-doh-resolver Artyom V. Poptsov
@ 2024-08-27 21:09 ` Artyom V. Poptsov
  2024-08-27 21:09 ` [bug#72844] [PATCH 4/4] gnu: Add go-github-com-ipfs-go-ipfs-posinfo Artyom V. Poptsov
  2024-08-29  0:11 ` bug#72844: [PATCH 0/4] gnu: kubo: Add some direct and indirect dependencies Sharlatan Hellseher
  4 siblings, 0 replies; 6+ messages in thread
From: Artyom V. Poptsov @ 2024-08-27 21:09 UTC (permalink / raw)
  To: 72844; +Cc: Artyom V. Poptsov

* gnu/packages/golang-xyz.scm (go-github-com-ipfs-go-bitfield): New variable.

Change-Id: I95e627fb5f4dfcca5e4b70e753b544b4965b96c2
---
 gnu/packages/golang-xyz.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 796341a66b..056680afcf 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -3362,6 +3362,31 @@ (define-public go-github-com-itchyny-timefmt-go
 time strings.")
     (license license:expat)))
 
+(define-public go-github-com-ipfs-go-bitfield
+  (package
+    (name "go-github-com-ipfs-go-bitfield")
+    (version "1.1.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/ipfs/go-bitfield")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1zhgwdg2kizhk0hb9q5p0pwrwldd2pacz8l1pnapxh6qm3fqs663"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "github.com/ipfs/go-bitfield"))
+    (home-page "https://github.com/ipfs/go-bitfield")
+    (synopsis "Golang bitfield package")
+    (description
+     "@code{go-bitfield} is a simple bitfield package that's about 2-3x faster than
+using @code{big.Int} from the standard library.  It also has a better interface (and,
+e.g., supports counting ones).")
+    (license (list license:expat license:asl2.0))))
+
 (define-public go-github-com-jbenet-go-random
   (package
     (name "go-github-com-jbenet-go-random")
-- 
2.45.2





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

* [bug#72844] [PATCH 4/4] gnu: Add go-github-com-ipfs-go-ipfs-posinfo.
  2024-08-27 21:08 [bug#72844] [PATCH 0/4] gnu: kubo: Add some direct and indirect dependencies Artyom V. Poptsov
                   ` (2 preceding siblings ...)
  2024-08-27 21:09 ` [bug#72844] [PATCH 3/4] gnu: Add go-github-com-ipfs-go-bitfield Artyom V. Poptsov
@ 2024-08-27 21:09 ` Artyom V. Poptsov
  2024-08-29  0:11 ` bug#72844: [PATCH 0/4] gnu: kubo: Add some direct and indirect dependencies Sharlatan Hellseher
  4 siblings, 0 replies; 6+ messages in thread
From: Artyom V. Poptsov @ 2024-08-27 21:09 UTC (permalink / raw)
  To: 72844; +Cc: Artyom V. Poptsov

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

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

diff --git a/gnu/packages/ipfs.scm b/gnu/packages/ipfs.scm
index af95ca86f3..6089dd7362 100644
--- a/gnu/packages/ipfs.scm
+++ b/gnu/packages/ipfs.scm
@@ -165,6 +165,30 @@ (define-public go-github-com-ipfs-go-ipfs-blocksutil
 @url{https://github.com/ipfs/go-block-format, IPFS blocks}.")
       (license license:expat))))
 
+(define-public go-github-com-ipfs-go-ipfs-posinfo
+  (package
+    (name "go-github-com-ipfs-go-ipfs-posinfo")
+    (version "0.0.2")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/ipfs/go-ipfs-posinfo")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1wgd3708gr42f37dcva41w1pkb5iywf8jdx6pgfhwwlw2s4lrn0p"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "github.com/ipfs/go-ipfs-posinfo"))
+    (propagated-inputs (list go-github-com-ipfs-go-ipld-format))
+    (home-page "https://github.com/ipfs/go-ipfs-posinfo")
+    (synopsis "Wrap offset information for IPFS filestore nodes")
+    (description
+     "@code{go-ipfs-posinfo} wraps offset information for IPFS filestore nodes.")
+    (license license:expat)))
+
 (define-public go-github-com-ipfs-go-cid
   (package
     (name "go-github-com-ipfs-go-cid")
-- 
2.45.2





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

* bug#72844: [PATCH 0/4] gnu: kubo: Add some direct and indirect dependencies.
  2024-08-27 21:08 [bug#72844] [PATCH 0/4] gnu: kubo: Add some direct and indirect dependencies Artyom V. Poptsov
                   ` (3 preceding siblings ...)
  2024-08-27 21:09 ` [bug#72844] [PATCH 4/4] gnu: Add go-github-com-ipfs-go-ipfs-posinfo Artyom V. Poptsov
@ 2024-08-29  0:11 ` Sharlatan Hellseher
  4 siblings, 0 replies; 6+ messages in thread
From: Sharlatan Hellseher @ 2024-08-29  0:11 UTC (permalink / raw)
  To: 72844-done

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


Hi,

Thank you for the patches.

Pushed as 71e1d0a437..de25a21433 to master with minor adjustments.

--
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-08-29  0:13 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-27 21:08 [bug#72844] [PATCH 0/4] gnu: kubo: Add some direct and indirect dependencies Artyom V. Poptsov
2024-08-27 21:09 ` [bug#72844] [PATCH 1/4] gnu: Add go-github-com-libp2p-go-doh-resolver Artyom V. Poptsov
2024-08-27 21:09 ` [bug#72844] [PATCH 2/4] gnu: kubo: Unbundle go-github-com-libp2p-go-doh-resolver Artyom V. Poptsov
2024-08-27 21:09 ` [bug#72844] [PATCH 3/4] gnu: Add go-github-com-ipfs-go-bitfield Artyom V. Poptsov
2024-08-27 21:09 ` [bug#72844] [PATCH 4/4] gnu: Add go-github-com-ipfs-go-ipfs-posinfo Artyom V. Poptsov
2024-08-29  0:11 ` bug#72844: [PATCH 0/4] gnu: kubo: Add some direct and indirect dependencies Sharlatan Hellseher

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.