From: Foo Chuan Wei <chuanwei.foo@hotmail.com>
To: 51997@debbugs.gnu.org
Subject: [bug#51997] [PATCH] gnu: Add litecli.
Date: Sat, 20 Nov 2021 09:26:47 +0000 [thread overview]
Message-ID: <PU1PR01MB2155DDE47E2E86CD1F7A0ACD8D9D9@PU1PR01MB2155.apcprd01.prod.exchangelabs.com> (raw)
* gnu/packages/databases.scm (litecli): New variable.
---
gnu/packages/databases.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index dfa833b62a..50e0cc530f 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -617,6 +617,38 @@ 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)
+ ;; '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
+ `(("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")
base-commit: 5c0e4cb107515310b0a28c48520bb34ad80102ac
--
2.25.1
next reply other threads:[~2021-11-20 9:43 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-20 9:26 Foo Chuan Wei [this message]
2021-11-20 10:47 ` bug#51997: [PATCH] gnu: Add litecli Liliana Marie Prikler
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=PU1PR01MB2155DDE47E2E86CD1F7A0ACD8D9D9@PU1PR01MB2155.apcprd01.prod.exchangelabs.com \
--to=chuanwei.foo@hotmail.com \
--cc=51997@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).