summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2026-05-15 16:43:57 +0100
committerAndreas Enge <andreas@enge.fr>2026-06-03 22:00:39 +0200
commit8d36ad17d9690a535ffcd44230f509395e069bc7 (patch)
treeb257cf154453070baafac9399e1b8a94c234d796 /gnu
parentd8dbae42aa09b9eb86f9e879cf33b315380754c5 (diff)
gnu: Add go-github-com-ipfs-go-libdht.
* gnu/packages/ipfs.scm (go-github-com-ipfs-go-libdht): New variable. Change-Id: Id7ee29c29ef27e816a67fd395076ef35baecb539
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/ipfs.scm32
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/packages/ipfs.scm b/gnu/packages/ipfs.scm
index b14dda01ed7..e20010cdeb0 100644
--- a/gnu/packages/ipfs.scm
+++ b/gnu/packages/ipfs.scm
@@ -1111,6 +1111,38 @@ IPLD graph as detailed below. Objects are demonstrated here using both
1111@code{go-ipld-prime} nodes and @code{go-ipld-format} legacy interface.") 1111@code{go-ipld-prime} nodes and @code{go-ipld-format} legacy interface.")
1112 (license (list license:expat license:asl2.0)))) 1112 (license (list license:expat license:asl2.0))))
1113 1113
1114(define-public go-github-com-ipfs-go-libdht
1115 (package
1116 (name "go-github-com-ipfs-go-libdht")
1117 (version "0.5.0")
1118 (source
1119 (origin
1120 (method git-fetch)
1121 (uri (git-reference
1122 (url "https://github.com/ipfs/go-libdht")
1123 (commit (string-append "v" version))))
1124 (file-name (git-file-name name version))
1125 (sha256
1126 (base32 "139zzvs9c65k6agfpy412y9bb4pfxdmwvwjbvndx9gd615qhxzak"))))
1127 (build-system go-build-system)
1128 (arguments
1129 (list
1130 #:skip-build? #t
1131 #:import-path "github.com/ipfs/go-libdht"))
1132 (native-inputs
1133 (list go-github-com-stretchr-testify))
1134 (home-page "https://github.com/ipfs/go-libdht")
1135 (synopsis "go-libdht")
1136 (description
1137 "@code{go-libdht} is a generic toolbox designed for the implementation
1138and experimentation of @acronym{Distributed Hash Tables, DHT} in Go. It
1139establishes foundational types and interfaces applicable across a broad
1140spectrum of DHTs, especially those sharing a similar topology. By offering
1141reusable components like keys and routing tables, @code{go-libdht} streamlines
1142the DHT implementation process. Using @code{go-libdht}, developers can
1143seamlessly craft their own DHTs using the provided modular components.")
1144 (license (list license:expat license:asl2.0))))
1145
1114(define-public go-github-com-ipfs-go-metrics-interface 1146(define-public go-github-com-ipfs-go-metrics-interface
1115 (package 1147 (package
1116 (name "go-github-com-ipfs-go-metrics-interface") 1148 (name "go-github-com-ipfs-go-metrics-interface")