guix_mirror_bot pushed a commit to branch go-team
in repository guix.
commit 729ad82df45cc8260e94f0bedaf619d429867b7e
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Fri Feb 13 23:24:22 2026 +0000
gnu: Add go-github-com-probe-lab-go-libdht.
* gnu/packages/ipfs.scm (go-github-com-probe-lab-go-libdht): New variable.
Change-Id: Ide02c7878d0e772b6f9b64d7e799b81806bd1384
---
gnu/packages/ipfs.scm | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/gnu/packages/ipfs.scm b/gnu/packages/ipfs.scm
index 1ee31a4bdc..3d89c1d734 100644
--- a/gnu/packages/ipfs.scm
+++ b/gnu/packages/ipfs.scm
@@ -2413,6 +2413,41 @@ daemon as described in
@url{http://0pointer.de/blog/projects/socket-activation}.")
(license license:expat)))
+(define-public go-github-com-probe-lab-go-libdht
+ (package
+ (name "go-github-com-probe-lab-go-libdht")
+ (version "0.5.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ ;; <https://github.com/probe-lab/go-libdht> redirects to
+ ;; <https://github.com/ipfs/go-libdht>.
+ (url "https://github.com/ipfs/go-libdht")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "139zzvs9c65k6agfpy412y9bb4pfxdmwvwjbvndx9gd615qhxzak"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:skip-build? #t
+ #:import-path "github.com/ipfs/go-libdht"))
+ (native-inputs
+ (list go-github-com-stretchr-testify))
+ (home-page "https://github.com/ipfs/go-libdht")
+ (synopsis "Generic Go DHT toolbox")
+ (description
+ "@code{go-libdht} is a generic toolbox designed for the implementation
+and experimentation of Distributed Hash Tables (DHT) in Go. It establishes
+foundational types and interfaces applicable across a broad spectrum of DHTs,
+especially those sharing a similar topology. By offering reusable components
+like keys and routing tables, @code{go-libdht} streamlines the DHT
+implementation process. Using @code{go-libdht}, developers can seamlessly
+craft their own DHTs using the provided modular components.")
+ ;; SPDX-License-Identifier: Apache-2.0 OR MIT
+ (license (list license:expat license:asl2.0))))
+
(define-public go-github-com-whyrusleeping-cbor-gen
(package
(name "go-github-com-whyrusleeping-cbor-gen")