guix_mirror_bot pushed a commit to branch go-team
in repository guix.
commit 19021aab21d50af1ddec6709ef22307e0c4c5965
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Mon Jun 9 00:21:36 2025 +0100
gnu: Add go-github-com-ipfs-go-ds-badger4.
* gnu/packages/ipfs.scm (go-github-com-ipfs-go-ds-badger4): New variable.
Change-Id: I205bb4fd2a07aea74c65db1857b2125aa40bdb08
---
gnu/packages/ipfs.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/gnu/packages/ipfs.scm b/gnu/packages/ipfs.scm
index 82df928ca2..1049d7c208 100644
--- a/gnu/packages/ipfs.scm
+++ b/gnu/packages/ipfs.scm
@@ -392,6 +392,39 @@ provides a single @code{GetBlock/AddBlock} interface that
seamlessly retrieves
data either locally or from a remote peer through the exchange.")
(license license:expat)))
+(define-public go-github-com-ipfs-go-ds-badger4
+ (package
+ (name "go-github-com-ipfs-go-ds-badger4")
+ (version "0.1.8")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/ipfs/go-ds-badger4")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1gyzywd74cb8jl0zr8b3fjjmd8rsabwk5rj17nhagigps4971h1a"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:go go-1.23
+ #:import-path "github.com/ipfs/go-ds-badger4"))
+ (native-inputs
+ (list go-github-com-stretchr-testify
+ go-go-uber-org-zap))
+ (propagated-inputs
+ (list go-github-com-dgraph-io-badger-v4
+ go-github-com-ipfs-go-datastore
+ go-github-com-ipfs-go-detect-race
+ go-github-com-ipfs-go-log-v2))
+ (home-page "https://github.com/ipfs/go-ds-badger4")
+ (synopsis "Datastore implementation using Badger v4 as backend")
+ (description
+ "This package implements a Badger v4 (a key-value database) backed
+datastore for IPFS.")
+ (license (list license:expat license:asl2.0))))
+
(define-public go-github-com-ipfs-go-ds-dynamodb
(package
(name "go-github-com-ipfs-go-ds-dynamodb")