summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorAshvith Shetty <ashvith@noreply.codeberg.org>2026-03-04 12:17:54 +0530
committerSharlatan Hellseher <sharlatanus@gmail.com>2026-03-05 18:40:16 +0000
commit5b6a2296ca890747d20b72a0a34afda4a688e9e9 (patch)
tree7cc14bedd9f5e7a6bdaf32879422b8dc222ec00f /gnu
parent08ca724ee355daff0e9572d32a78d1e6bba5f26e (diff)
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>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/databases.scm38
1 files changed, 38 insertions, 0 deletions
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 34ae95e8ebe..8a0999d57ff 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -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")