From 673b48bf60830b8f4e4ed728b4f2d7afdb6ae52a Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Sun, 7 Jul 2024 15:30:16 +0100 Subject: [PATCH] gnu: Add go-github-com-whyrusleeping-go-keyspace. * gnu/packages/golang-xyz.scm (go-github-com-whyrusleeping-go-keyspace): New variable. Change-Id: I089ffd2ad61a998958d64465c14cbfe941fc30e9 --- gnu/packages/golang-xyz.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index 56cf1d0287..7eb303063e 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -4846,6 +4846,31 @@ (define-public go-github-com-vividcortex-ewma weighted moving averages}.") (license license:expat))) +(define-public go-github-com-whyrusleeping-go-keyspace + (package + (name "go-github-com-whyrusleeping-go-keyspace") + (version "0.0.0-20160322163242-5b898ac5add1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/whyrusleeping/go-keyspace") + (commit (go-version->git-ref version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0fkk7i7qxwbz1g621mm6a6inb69lr57cyc9ayyfiwhnjwfz78rbb")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/whyrusleeping/go-keyspace")) + (home-page "https://github.com/whyrusleeping/go-keyspace") + (synopsis "Comparing key metrics within a given keyspace") + (description + "This is a package extracted from @code{go-ipfs}. Its purpose to be used +to compare a set of keys based on a given metric. The primary metric used is +XOR, as in kademlia.") + (license license:expat))) + (define-public go-github-com-whyrusleeping-go-sysinfo (package (name "go-github-com-whyrusleeping-go-sysinfo")