diff options
author | Artyom V. Poptsov <poptsov.artyom@gmail.com> | 2024-08-28 00:09:35 +0300 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2024-08-29 01:07:24 +0100 |
commit | ac7b75d473b4c48d0e8a6583a8fa70eb54b97649 (patch) | |
tree | 940198c310e3bc7866a4fe573d6ca9ee2c126866 /gnu | |
parent | 71e1d0a4373f6cc5cd99e1400fb87d64d97c370f (diff) |
gnu: Add go-github-com-ipfs-go-bitfield.
* gnu/packages/ipfs.scm (go-github-com-ipfs-go-bitfield): New variable.
Change-Id: I95e627fb5f4dfcca5e4b70e753b544b4965b96c2
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/ipfs.scm | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/ipfs.scm b/gnu/packages/ipfs.scm index d9866a8d9a..c8253c4a60 100644 --- a/gnu/packages/ipfs.scm +++ b/gnu/packages/ipfs.scm @@ -67,6 +67,30 @@ 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-bitfield + (package + (name "go-github-com-ipfs-go-bitfield") + (version "1.1.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/ipfs/go-bitfield") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1zhgwdg2kizhk0hb9q5p0pwrwldd2pacz8l1pnapxh6qm3fqs663")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/ipfs/go-bitfield")) + (home-page "https://github.com/ipfs/go-bitfield") + (synopsis "Allocated up-front Bitfield for Golang") + (description + "This package implements a functionality similar to standard +@code{big.Int} with some optimizations to use in IPFS.") + (license (list license:expat license:asl2.0)))) + (define-public go-github-com-ipfs-go-block-format (package (name "go-github-com-ipfs-go-block-format") |