1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

gnu: Add dicedb-cli.

* gnu/packages/databases.scm (dicedb-cli): New variable.

Merges: https://codeberg.org/guix/guix/pulls/6873
Change-Id: I03ce3928b361a88ed8c7ca829bc71a2c26c60c2e
Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Ashvith Shetty
2026-03-04 12:17:54 +05:30
committed by Sharlatan Hellseher
parent 08ca724ee3
commit 5b6a2296ca

View File

@@ -689,6 +689,44 @@ delivers higher throughput and lower median latencies, making it ideal for
modern workloads.")
(license license:bsd-3)))
(define-public dicedb-cli
(package
(name "dicedb-cli")
(version "1.0.8")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/dicedb/dicedb-cli")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0hglagah0wpdkzw5fs5b1jx6m972yriwjl4zwg7sjs529v4jf3sw"))))
(build-system go-build-system)
(arguments
(list
#:install-source? #f
#:import-path "github.com/dicedb/dicedb-cli"
#:test-flags
;; XXX: This might be an issue with cobra: parse_args_test.go:90:
;; parseArgs("SET key \"unterminated value") = []string{}; expected
;; []string{"SET", "key", "unterminated value"}
#~(list "-skip" "TestParseArgs_EdgeCases/Unterminated_quote.*")))
(native-inputs
(list go-github-com-chzyer-readline
go-github-com-dicedb-dicedb-go
go-github-com-fatih-color
go-github-com-google-shlex
go-github-com-spf13-cobra
go-google-golang-org-protobuf))
(home-page "https://github.com/DiceDB/dicedb-cli")
(synopsis "Command line interface for DiceDB")
(description
"@command{dicedb-cli} is a command line interface for
@url{https://dicedb.io, DiceDB}, a Redis-compliant in-memory database.")
(license (list license:expat ;MIT in README
license:bsd-3)))) ;BSD-3 in LICENSE file
(define-public leveldb
(package
(name "leveldb")