From 58a92c6146a0cf3ee15c7834648d26bf6ea162a8 Mon Sep 17 00:00:00 2001 From: "Artyom V. Poptsov" Date: Sat, 20 Jul 2024 18:33:52 +0300 Subject: gnu: Add go-github-com-ipfs-bbloom. * gnu/packages/ipfs.scm (go-github-com-ipfs-bbloom): New variable. Change-Id: If5b5d486f50f82750a5b11a3248a3aaa2ed91658 Signed-off-by: Sharlatan Hellseher --- gnu/packages/ipfs.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'gnu/packages/ipfs.scm') diff --git a/gnu/packages/ipfs.scm b/gnu/packages/ipfs.scm index 8a315bf5fe3..052fbd8f116 100644 --- a/gnu/packages/ipfs.scm +++ b/gnu/packages/ipfs.scm @@ -41,6 +41,31 @@ #:use-module (gnu packages shells) #:use-module (gnu packages specifications)) +(define-public go-github-com-ipfs-bbloom + (package + (name "go-github-com-ipfs-bbloom") + (version "0.0.4") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/ipfs/bbloom") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0dcdn7nlysynl7yrbivv8m7j83jq7pabhcff8mvfjdk583rgnkp2")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/ipfs/bbloom")) + (home-page "https://github.com/ipfs/bbloom") + (synopsis "Fast bit set Bloom filter") + (description + "This package implements a fast bloom filter with real @code{bitset} and +JSONMarshal/JSONUnmarshal to store/reload the Bloom filter.") + (license (list license:expat ; bbloom.go + license:public-domain)))) ; siphash.go + (define-public go-github-com-ipfs-go-block-format (package (name "go-github-com-ipfs-go-block-format") -- cgit v1.2.3