guix_mirror_bot pushed a commit to branch go-team
in repository guix.
commit ae00d3f41bb2521f571d53dfccc86f9882b4a33a
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Fri May 15 22:13:19 2026 +0100
gnu: go-github-com-libp2p-go-libp2p-kad-dht: Update to 0.39.1.
* gnu/packages/ipfs.scm (go-github-com-libp2p-go-libp2p-kad-dht): Update to
0.39.1.
[source] <snippet>: Remove no longer required module path substitution.
[hases]{pre-check}: New phase.
[propagated-inputs]: Remove go-github-com-probe-lab-go-libdht; add
go-github-com-ipfs-go-libdht.
Change-Id: Ic0a49b684196864b2a541ea2905f33425d7b47b0
---
gnu/packages/ipfs.scm | 21 ++++++++++-----------
1 file changed, 10 insertions(+), 11 deletions(-)
diff --git a/gnu/packages/ipfs.scm b/gnu/packages/ipfs.scm
index 10b1da4ff4..50cb1cf3e9 100644
--- a/gnu/packages/ipfs.scm
+++ b/gnu/packages/ipfs.scm
@@ -1881,7 +1881,7 @@ through @url{https://github.com/libp2p/libp2p, LibP2P}
using Go's standard
(define-public go-github-com-libp2p-go-libp2p-kad-dht
(package
(name "go-github-com-libp2p-go-libp2p-kad-dht")
- (version "0.37.1")
+ (version "0.39.1")
(source
(origin
(method git-fetch)
@@ -1890,21 +1890,20 @@ through @url{https://github.com/libp2p/libp2p, LibP2P}
using Go's standard
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "07p5vy43kszcqzyy9piagyakgikg5afihd478q2zsviimqhl9ngb"))
- (modules '((guix build utils)))
- (snippet
- #~(begin
- ;; Module name has been changed upstream.
- (substitute* (find-files "." "\\.go$")
- (("github.com/probe-lab/go-libdht")
- "github.com/ipfs/go-libdht"))))))
+ (base32 "1lyh4a4m6v7i1sj18vi02snx2291hfrj09y484y2k9wynhdr71rz"))))
(build-system go-build-system)
(arguments
(list
#:embed-files #~(list "sorted-network-list.bin")
#:import-path "github.com/libp2p/go-libp2p-kad-dht"
;; Error: "[]" should have 3 item(s), but has 0
- #:test-flags #~(list "-skip"
"TestIPDiversityFilter/Different_IPv6_blocks")))
+ #:test-flags #~(list "-skip"
"TestIPDiversityFilter/Different_IPv6_blocks")
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'check 'pre-check
+ (lambda* (#:key tests? import-path #:allow-other-keys)
+ ;; See: <https://go.dev/blog/synctest>.
+ (setenv "GODEBUG" "asynctimerchan=0"))))))
(native-inputs
(list go-github-com-ipfs-go-test
go-github-com-ipfs-go-detect-race
@@ -1922,6 +1921,7 @@ through @url{https://github.com/libp2p/libp2p, LibP2P}
using Go's standard
go-github-com-ipfs-go-cid
go-github-com-ipfs-go-datastore
go-github-com-ipfs-go-dsqueue
+ go-github-com-ipfs-go-libdht
go-github-com-ipfs-go-log-v2
go-github-com-libp2p-go-libp2p-kbucket
go-github-com-libp2p-go-libp2p-record
@@ -1934,7 +1934,6 @@ through @url{https://github.com/libp2p/libp2p, LibP2P}
using Go's standard
go-github-com-multiformats-go-multiaddr
go-github-com-multiformats-go-multibase
go-github-com-multiformats-go-multihash
- go-github-com-probe-lab-go-libdht
go-github-com-whyrusleeping-go-keyspace
go-go-opentelemetry-io-otel
go-go-opentelemetry-io-otel-metric