summary refs log tree commit diff
path: root/gnu/packages/databases.scm
diff options
context:
space:
mode:
authorFoo Chuan Wei <chuanwei.foo@hotmail.com>2021-11-20 09:26:47 +0000
committerLiliana Marie Prikler <liliana.prikler@gmail.com>2021-11-20 11:41:22 +0100
commitb7a515c5102d0c463bfdcd064e5946ffc8936725 (patch)
tree80ab2c290351ee143003ffce4d3ed4e73b5de767 /gnu/packages/databases.scm
parent5c0e4cb107515310b0a28c48520bb34ad80102ac (diff)
downloadguix-b7a515c5102d0c463bfdcd064e5946ffc8936725.tar.gz
gnu: Add litecli.
* gnu/packages/databases.scm (litecli): New variable.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
Diffstat (limited to 'gnu/packages/databases.scm')
-rw-r--r--gnu/packages/databases.scm28
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index dfa833b62a..5edc4e2cce 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -617,6 +617,34 @@ replacement for the code@{python-memcached} library.")
 (define-public python2-pylibmc
   (package-with-python2 python-pylibmc))
 
+(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)
+  (propagated-inputs
+   `(("python-cli-helpers" ,python-cli-helpers)
+     ("python-click" ,python-click)
+     ("python-configobj" ,python-configobj)
+     ("python-prompt-toolkit" ,python-prompt-toolkit)
+     ("python-pygments" ,python-pygments)
+     ("python-sqlparse" ,python-sqlparse)))
+  (native-inputs
+   `(("python-mock" ,python-mock)
+     ("python-pytest" ,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")