summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2026-05-15 22:13:19 +0100
committerAndreas Enge <andreas@enge.fr>2026-06-03 22:00:39 +0200
commitd8dbae42aa09b9eb86f9e879cf33b315380754c5 (patch)
treebd6b6244fb57ea381d693a21dd4ff11db597e6cf /gnu/packages
parentb69b16fc591ac882ebbd97f01857306020a29e77 (diff)
gnu: go-github-com-libp2p-go-libp2p-pubsub: Update to 0.16.0.
* gnu/packages/ipfs.scm (go-github-com-libp2p-go-libp2p-pubsub): Update to 0.16.0. [arguments] <tests?, test-flags>: Enable the most of the tests. [propagated-inputs]: Remove go-github-com-ipfs-go-log-v2 and go-go-uber-org-zap. [native-inputs]: Remove go-github-com-stretchr-testify. Change-Id: I8c27024aa7178eafc4a4578cc6bd651cf47c9de2
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/ipfs.scm34
1 files changed, 24 insertions, 10 deletions
diff --git a/gnu/packages/ipfs.scm b/gnu/packages/ipfs.scm
index ce1585b353c..b14dda01ed7 100644
--- a/gnu/packages/ipfs.scm
+++ b/gnu/packages/ipfs.scm
@@ -2006,7 +2006,7 @@ kab-dht}. This DHT is modeled after Kademlia with S/Kademlia modifications.")
2006(define-public go-github-com-libp2p-go-libp2p-pubsub 2006(define-public go-github-com-libp2p-go-libp2p-pubsub
2007 (package 2007 (package
2008 (name "go-github-com-libp2p-go-libp2p-pubsub") 2008 (name "go-github-com-libp2p-go-libp2p-pubsub")
2009 (version "0.13.0") 2009 (version "0.16.0")
2010 (source 2010 (source
2011 (origin 2011 (origin
2012 (method git-fetch) 2012 (method git-fetch)
@@ -2015,31 +2015,45 @@ kab-dht}. This DHT is modeled after Kademlia with S/Kademlia modifications.")
2015 (commit (string-append "v" version)))) 2015 (commit (string-append "v" version))))
2016 (file-name (git-file-name name version)) 2016 (file-name (git-file-name name version))
2017 (sha256 2017 (sha256
2018 (base32 "14afjrgfbmlrnjd5xnl70ff95mbvfxp9n8mx3hrw8069bcpzvm2k")))) 2018 (base32 "03nh7lbzy51yyfgi6lqlyxz91il05axvis0nq3zfi8c98dadzr5j"))))
2019 (build-system go-build-system) 2019 (build-system go-build-system)
2020 (arguments 2020 (arguments
2021 (list 2021 (list
2022 ;; TODO: Tests may need some adjustments as they take quite a lot of
2023 ;; time to finish.
2024 #:tests? #f
2025 #:import-path "github.com/libp2p/go-libp2p-pubsub" 2022 #:import-path "github.com/libp2p/go-libp2p-pubsub"
2023 #:test-flags
2024 #~(list "-short"
2025 "-skip" (string-join
2026 ;; Expencive tests, which takes more than 10s to pass
2027 ;; and accumulate hard timeout; succeeded after 235.9
2028 ;; seconds with 16 threads.
2029 (list "TestBasicSeqnoValidatorReplay"
2030 "TestLastSeenCacheNotFoundAfterExpire"
2031 "TestConfigurableMaxMessageSize"
2032 "TestFloodSubPluggableProtocol/won"
2033 "TestGossipsubAttackSpamIHAVE"
2034 "TestGossipsubFanoutMaintenance"
2035 "TestGossipsubGossip"
2036 "TestGossipsubOpportunisticGrafting"
2037 "TestGossipsubRPCFragmentation"
2038 "TestGossipsubStarTopology"
2039 "TestGossipsubStarTopologyWithSignedPeerRecords"
2040 "TestPairwiseInteractionWithPartialMessages"
2041 "TestPeerDisconnect")
2042 "|"))
2026 ;; src/github.com/libp2p/go-libp2p-asn-util/asn.go:12:12: pattern 2043 ;; src/github.com/libp2p/go-libp2p-asn-util/asn.go:12:12: pattern
2027 ;; sorted-network-list.bin: cannot embed irregular file 2044 ;; sorted-network-list.bin: cannot embed irregular file
2028 ;; sorted-network-list.bin 2045 ;; sorted-network-list.bin
2029 #:embed-files #~(list "sorted-network-list\\.bin"))) 2046 #:embed-files #~(list "sorted-network-list\\.bin")))
2030 (native-inputs 2047 (native-inputs
2031 (list go-github-com-libp2p-go-libp2p-testing 2048 (list go-github-com-libp2p-go-libp2p-testing))
2032 go-github-com-stretchr-testify))
2033 (propagated-inputs 2049 (propagated-inputs
2034 (list go-github-com-benbjohnson-clock 2050 (list go-github-com-benbjohnson-clock
2035 go-github-com-gogo-protobuf 2051 go-github-com-gogo-protobuf
2036 go-github-com-ipfs-go-log-v2
2037 go-github-com-libp2p-go-buffer-pool 2052 go-github-com-libp2p-go-buffer-pool
2038 go-github-com-libp2p-go-libp2p 2053 go-github-com-libp2p-go-libp2p
2039 go-github-com-libp2p-go-msgio 2054 go-github-com-libp2p-go-msgio
2040 go-github-com-multiformats-go-multiaddr 2055 go-github-com-multiformats-go-multiaddr
2041 go-github-com-multiformats-go-varint 2056 go-github-com-multiformats-go-varint))
2042 go-go-uber-org-zap))
2043 (home-page "https://github.com/libp2p/go-libp2p-pubsub") 2057 (home-page "https://github.com/libp2p/go-libp2p-pubsub")
2044 (synopsis "PubSub implementation for go-libp2p") 2058 (synopsis "PubSub implementation for go-libp2p")
2045 (description 2059 (description