summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-02-20 11:48:26 +0000
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-05-26 16:50:13 +0100
commitc8c8ddc3bd0d7d5676f1c865a04e1e737b5f9f97 (patch)
tree42171d1b9f7db1da0e75db69e79afca30d0f0329 /gnu
parent05ed2df9b3ef303e738a7d688e1d9fb3785c1c07 (diff)
gnu: Add go-github-com-ipfs-go-ipfs-routing.
* gnu/packages/ipfs.scm (go-github-com-ipfs-go-ipfs-routing): New variable. Change-Id: Idd5e59180013c7ec715fbe2164517d8d6fbabb39
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/ipfs.scm42
1 files changed, 42 insertions, 0 deletions
diff --git a/gnu/packages/ipfs.scm b/gnu/packages/ipfs.scm
index 8bde9648de0..a50b602757c 100644
--- a/gnu/packages/ipfs.scm
+++ b/gnu/packages/ipfs.scm
@@ -690,6 +690,48 @@ but returns nil values to every request.")
parsing.")
(license license:expat)))
+(define-public go-github-com-ipfs-go-ipfs-routing
+ (package
+ (name "go-github-com-ipfs-go-ipfs-routing")
+ (version "0.3.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/ipfs/go-ipfs-routing")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0j5pyp35z0jnqzz7iiknqx3234swqrpqz478ng8al3b6gqaza9ks"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:skip-build? #t
+ #:import-path "github.com/ipfs/go-ipfs-routing"
+ ;; One test fails with error: panic: protobuf tag not enough fields in
+ ;; Record.state.
+ #:test-flags #~(list "-skip" "TestOfflineRouterStorage")))
+ (native-inputs
+ (list go-github-com-libp2p-go-libp2p-testing))
+ (propagated-inputs
+ (list go-github-com-gogo-protobuf
+ go-github-com-ipfs-go-cid
+ go-github-com-ipfs-go-datastore
+ go-github-com-ipfs-go-ipfs-delay
+ go-github-com-ipfs-go-ipfs-ds-help
+ go-github-com-ipfs-go-ipfs-util
+ go-github-com-ipfs-go-log
+ go-github-com-libp2p-go-libp2p
+ go-github-com-libp2p-go-libp2p-record
+ go-github-com-multiformats-go-multiaddr
+ go-github-com-multiformats-go-multihash))
+ (home-page "https://github.com/ipfs/go-ipfs-routing")
+ (synopsis "P2P routing implementations used in IPFS")
+ (description
+ "This package provides P2P routing implementations for IPFS
+development.")
+ (license license:expat)))
+
(define-public go-github-com-ipfs-go-ipfs-util
(package
(name "go-github-com-ipfs-go-ipfs-util")