aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/databases.scm
diff options
context:
space:
mode:
authorFoo Chuan Wei <chuanwei.foo@hotmail.com>2022-01-14 10:22:04 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2022-01-14 10:22:04 +0100
commit3f7517a80aac1e462565ced048b9ccd84aa880a9 (patch)
treebfb07169591ed8618214f9a574e6268261b25081 /gnu/packages/databases.scm
parent2aefa6a493750aef601598576337ac7efc879fe8 (diff)
downloadguix-3f7517a80aac1e462565ced048b9ccd84aa880a9.tar
guix-3f7517a80aac1e462565ced048b9ccd84aa880a9.tar.gz
gnu: Add litecli.
* gnu/packages/databases.scm (litecli): New variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu/packages/databases.scm')
-rw-r--r--gnu/packages/databases.scm31
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 4d7b090d03..8c45fbbf22 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -707,6 +707,37 @@ auto-completion and syntax highlighting.")
autocompletion and syntax highlighting.")
(license license:bsd-3)))
+(define-public litecli
+ (package
+ (name "litecli")
+ (version "1.6.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "litecli" version))
+ (sha256
+ (base32 "1yb706mgzizzijm1k0fbny98jf58qh5q6f2870rbplxlfla4w9sd"))))
+ (build-system python-build-system)
+ ;; 'check' phase fails with: ice-9/boot-9.scm:1685:16: In procedure
+ ;; raise-exception: "In procedure struct-vtable: Wrong type argument in
+ ;; position 1 (expecting struct): #f"
+ (arguments `(#:tests? #f))
+ (propagated-inputs
+ (list python-cli-helpers
+ python-click
+ python-configobj
+ python-prompt-toolkit
+ python-pygments
+ python-sqlparse))
+ (native-inputs
+ (list python-mock python-pytest))
+ (home-page "https://litecli.com")
+ (synopsis "CLI for SQLite databases")
+ (description
+ "@code{litecli} is a command-line client for SQLite databases that has
+auto-completion and syntax highlighting.")
+ (license license:bsd-3)))
+
(define-public mycli
(package
(name "mycli")