GNU bug report logs -
#51997
[PATCH] gnu: Add litecli.
Previous Next
Reported by: Foo Chuan Wei <chuanwei.foo <at> hotmail.com>
Date: Sat, 20 Nov 2021 09:41:01 UTC
Severity: normal
Tags: patch
Done: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your bug report
#51997: [PATCH] gnu: Add litecli.
which was filed against the guix-patches package, has been closed.
The explanation is attached below, along with your original report.
If you require more details, please reply to 51997 <at> debbugs.gnu.org.
--
51997: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=51997
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
Am Samstag, den 20.11.2021, 09:26 +0000 schrieb Foo Chuan Wei:
> [...]
> + ;; '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))
This failure did not occur in my build, so I pushed it without these
lines. You might want to clean up your local checkout.
Thanks
[Message part 3 (message/rfc822, inline)]
* 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
This bug report was last modified 3 years and 181 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.