summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-06-08 23:58:35 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-08-11 21:42:45 +0100
commit512a7b124270bf52e58246df6ad59245d3dcf19d (patch)
treea2411bf4bf91267f8e98b05097be8838e59d7458 /gnu
parent03a02e007a412f85db7547d89c6fb09cfc281ccf (diff)
gnu: Add go-github-com-dgraph-io-badger-v4.
* gnu/packages/golang-xyz.scm (go-github-com-dgraph-io-badger-v4): New variable. Change-Id: Ib7d4b51c3dc5ab9f11eca92b917175133a61e691
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/golang-xyz.scm32
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index c1bc1e58ea3..4e83a14862d 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -5358,6 +5358,38 @@ simultaneously. It uses @acronym{Multi-Version Concurrency Control, MVCC},
supports concurrent serializable transactions.")
(license license:asl2.0)))
+(define-public go-github-com-dgraph-io-badger-v4
+ (package
+ (inherit go-github-com-dgraph-io-badger)
+ (name "go-github-com-dgraph-io-badger-v4")
+ (version "4.5.2")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/dgraph-io/badger")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0v4c69whypm3k40hrx8bw9rjrcb0swz43v056s0fadqr04j0ncwj"))))
+ (arguments
+ (list
+ #:go go-1.23
+ #:tests? #f ; TODO: tests hang, find out why.
+ #:import-path "github.com/dgraph-io/badger/v4"))
+ (propagated-inputs
+ (list go-github-com-cespare-xxhash-v2
+ go-github-com-dgraph-io-ristretto-v2
+ go-github-com-dustin-go-humanize
+ go-github-com-google-flatbuffers
+ go-github-com-klauspost-compress
+ go-github-com-pkg-errors
+ go-github-com-spf13-cobra
+ go-go-opencensus-io
+ go-golang-org-x-net
+ go-golang-org-x-sys
+ go-google-golang-org-protobuf))))
+
(define-public go-github-com-dgraph-io-ristretto
(package
(name "go-github-com-dgraph-io-ristretto")