guix_mirror_bot pushed a commit to branch go-team
in repository guix.

commit 95467fffbf2fd7f6d91cf4e8756bd8f1b6aa0cfb
Author: Sharlatan Hellseher <sharlata...@gmail.com>
AuthorDate: Sun Jun 8 23:58:35 2025 +0100

    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
---
 gnu/packages/golang-xyz.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 5fc7a3dee1..2655973e69 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -5097,6 +5097,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")

Reply via email to