aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorArtyom V. Poptsov <poptsov.artyom@gmail.com>2024-07-20 18:33:52 +0300
committerSharlatan Hellseher <sharlatanus@gmail.com>2024-07-22 23:13:43 +0100
commit58a92c6146a0cf3ee15c7834648d26bf6ea162a8 (patch)
tree01e04697a07fe78d51509af93ff448fca53a2a42 /gnu
parent1090834a3dc25c16648abde659fed5435e2dc703 (diff)
downloadguix-58a92c6146a0cf3ee15c7834648d26bf6ea162a8.tar
guix-58a92c6146a0cf3ee15c7834648d26bf6ea162a8.tar.gz
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 <sharlatanus@gmail.com>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/ipfs.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/ipfs.scm b/gnu/packages/ipfs.scm
index 8a315bf5fe..052fbd8f11 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")