sharlatan pushed a commit to branch go-team
in repository guix.

commit 0ab6e7369f520464f8e8bbef7e172947eb6ee9b5
Author: Sharlatan Hellseher <sharlata...@gmail.com>
AuthorDate: Thu Feb 20 15:22:32 2025 +0000

    gnu: Add go-github-com-libp2p-go-libp2p-routing-helpers.
    
    * gnu/packages/ipfs.scm (go-github-com-libp2p-go-libp2p-routing-helpers): 
New variable.
    
    Change-Id: I5ed6f2f2ffc9aa4955bf1b4d704233aa31b3d1aa
---
 gnu/packages/ipfs.scm | 41 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

diff --git a/gnu/packages/ipfs.scm b/gnu/packages/ipfs.scm
index 158fa47791..a9e3dccb8f 100644
--- a/gnu/packages/ipfs.scm
+++ b/gnu/packages/ipfs.scm
@@ -1654,6 +1654,47 @@ provides topic-based pubsub, with pluggable routing 
algorithms.")
 systems.")
     (license license:expat)))
 
+(define-public go-github-com-libp2p-go-libp2p-routing-helpers
+  (package
+    (name "go-github-com-libp2p-go-libp2p-routing-helpers")
+    (version "0.7.4")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/libp2p/go-libp2p-routing-helpers";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0s0gzxfhmvywk4w78j1ga1ha7f948csfyflpxz8la1cp64238f01"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "github.com/libp2p/go-libp2p-routing-helpers"))
+    (native-inputs
+     (list go-github-com-stretchr-testify))
+    (propagated-inputs
+     (list go-github-com-hashicorp-errwrap
+           go-github-com-hashicorp-go-multierror
+           go-github-com-ipfs-go-cid
+           go-github-com-ipfs-go-log
+           go-github-com-jorropo-jsync
+           go-github-com-libp2p-go-libp2p
+           go-github-com-libp2p-go-libp2p-record
+           go-github-com-multiformats-go-multibase
+           go-github-com-multiformats-go-multihash
+           go-go-opentelemetry-io-otel
+           go-go-opentelemetry-io-otel-trace
+           go-go-uber-org-multierr))
+    (home-page "https://github.com/libp2p/go-libp2p-routing-helpers";)
+    (synopsis
+     "Collection of helper types for composing different types of routers")
+    ;; XXX: Project lacks any documentation.
+    (description
+     "This package provides a collection of helper types for composing
+different types of routers.")
+    (license license:expat)))
+
 (define-public go-github-com-libp2p-go-libp2p-testing
   (package
     (name "go-github-com-libp2p-go-libp2p-testing")

Reply via email to