From 3f7517a80aac1e462565ced048b9ccd84aa880a9 Mon Sep 17 00:00:00 2001 From: Foo Chuan Wei Date: Fri, 14 Jan 2022 10:22:04 +0100 Subject: gnu: Add litecli. * gnu/packages/databases.scm (litecli): New variable. Signed-off-by: Nicolas Goaziou --- gnu/packages/databases.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) (limited to 'gnu/packages/databases.scm') 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") -- cgit v1.2.3