* [bug#42201] [PATCH 1/3] gnu: Add python-terminaltables
@ 2020-07-04 19:31 guy fleury iteriteka
2020-07-04 19:31 ` [bug#42200] [PATCH 2/3] gnu: Add python-cli-helpers guy fleury iteriteka
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: guy fleury iteriteka @ 2020-07-04 19:31 UTC (permalink / raw)
To: 42201
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=yes, Size: 1514 bytes --]
* gnu/packages/python-xyz.scm(python-terminaltables): New variable.
---
gnu/packages/python-xyz.scm | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 5eee00a..f09c31a 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -82,6 +82,7 @@
;;; Copyright © 2020 Yuval Kogman <nothingmuch@woobling.org>
;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
;;; Copyright © 2020 Vinicius Monego <monego@posteo.net>
+;;; Copyright © 2020 Guy Fleury Iteriteka <gfleury@disroot.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -20402,3 +20403,23 @@ For the most part it's transliterated from C, the major differences are:
@end itemize
")
(license license:gpl3+)))
+
+(define-public python-terminaltables
+ (package
+ (name "python-terminaltables")
+ (version "3.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "terminaltables" version))
+ (sha256
+ (base32
+ "109vhldk6nv1z3hzp4dyqf6rjvlhl0y2k5k7qcm9fcrq5swhxszk"))))
+ (build-system python-build-system)
+ (home-page "https://github.com/Robpol86/terminaltables")
+ (synopsis
+ "Generate simple tables in terminals from a nested list of strings")
+ (description
+ "This package makes easy to draw tables in terminal/console applications
+from a list of lists of strings. It Supports multi-line rows.")
+ (license license:expat)))
--
2.25.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [bug#42200] [PATCH 2/3] gnu: Add python-cli-helpers.
2020-07-04 19:31 [bug#42201] [PATCH 1/3] gnu: Add python-terminaltables guy fleury iteriteka
@ 2020-07-04 19:31 ` guy fleury iteriteka
2020-07-25 18:46 ` bug#42200: " Oleg Pykhalov
2020-07-04 19:31 ` [bug#42202] [PATCH 3/3] gnu: Add mycli guy fleury iteriteka
2020-07-08 10:56 ` bug#42201: [PATCH 1/3] gnu: Add python-terminaltables Nicolas Goaziou
2 siblings, 1 reply; 6+ messages in thread
From: guy fleury iteriteka @ 2020-07-04 19:31 UTC (permalink / raw)
To: 42200
* gnu/packages/python-xyz.scm(python-cli-helpers): New variable.
---
gnu/packages/python-xyz.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index f09c31a..4a60627 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -20423,3 +20423,35 @@ For the most part it's transliterated from C, the major differences are:
"This package makes easy to draw tables in terminal/console applications
from a list of lists of strings. It Supports multi-line rows.")
(license license:expat)))
+
+(define-public python-cli-helpers
+ (package
+ (name "python-cli-helpers")
+ (version "2.0.1")
+ (source
+ (origin
+ ;; There's no source tarball on PyPI.
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/dbcli/cli_helpers.git")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1bg2iw9l5dip0kbs00hajdk2v18wvhssbnq8hdf71278qf0wks5l"))))
+ (build-system python-build-system)
+ (native-inputs
+ `(("python-pytest" ,python-pytest)))
+ (propagated-inputs
+ `(("python-wcwidth" ,python-wcwidth)
+ ("python-configobj" ,python-configobj)
+ ("python-tabulate" ,python-tabulate)
+ ("python-terminaltables" ,python-terminaltables)))
+ (home-page "https://github.com/dbcli/cli_helpers")
+ (synopsis "Helpers for building command-line apps")
+ (description
+ "CLI Helpers is a Python package that makes it easy to perform common
+tasks when building command-line apps. It's a helper library for command-line
+interfaces.")
+ (license license:bsd-3)))
+
--
2.25.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [bug#42202] [PATCH 3/3] gnu: Add mycli.
2020-07-04 19:31 [bug#42201] [PATCH 1/3] gnu: Add python-terminaltables guy fleury iteriteka
2020-07-04 19:31 ` [bug#42200] [PATCH 2/3] gnu: Add python-cli-helpers guy fleury iteriteka
@ 2020-07-04 19:31 ` guy fleury iteriteka
2020-07-25 18:45 ` bug#42202: " Oleg Pykhalov
2020-07-08 10:56 ` bug#42201: [PATCH 1/3] gnu: Add python-terminaltables Nicolas Goaziou
2 siblings, 1 reply; 6+ messages in thread
From: guy fleury iteriteka @ 2020-07-04 19:31 UTC (permalink / raw)
To: 42202
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=yes, Size: 1991 bytes --]
* gnu/packages/databases.scm(mycli): 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 2e46f9b..a62eccd 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -42,6 +42,7 @@
;;; Copyright © 2020 Nicolò Balzarotti <nicolo@nixo.xyz>
;;; Copyright © 2020 Tanguy Le Carrour <tanguy@bioneland.org>
;;; Copyright © 2020 Lars-Dominik Braun <ldb@leibniz-psychology.org>
+;;; Copyright © 2020 Guy Fleury Iteriteka <gfleury@disroot.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -3568,3 +3569,34 @@ The drivers officially supported by @code{libdbi} are:
PostreSQL, SQLite, ODBC and MySQL.")
(home-page "http://soci.sourceforge.net/")
(license license:boost1.0)))
+
+(define-public mycli
+ (package
+ (name "mycli")
+ (version "1.21.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "mycli" version))
+ (sha256
+ (base32
+ "1q9p0yik9cpvpxjs048anvhicfcna84mpl7axv9bwgr48w40lqwg"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:tests? #f)) ; tests expect a running MySQL
+ (propagated-inputs
+ `(("python-cli-helpers" ,python-cli-helpers)
+ ("python-click" ,python-click)
+ ("python-configobj" ,python-configobj)
+ ("python-cryptography" ,python-cryptography)
+ ("python-prompt-toolkit" ,python-prompt-toolkit)
+ ("python-pygments" ,python-pygments)
+ ("python-pymysql" ,python-pymysql)
+ ("python-sqlparse" ,python-sqlparse)))
+ (home-page "http://mycli.net")
+ (synopsis
+ "Terminal Client for MySQL with AutoCompletion and Syntax Highlighting")
+ (description
+ "MyCLI is a command line interface for MySQL, MariaDB, and Percona with
+auto-completion and syntax highlighting.")
+ (license license:bsd-3)))
--
2.25.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* bug#42201: [PATCH 1/3] gnu: Add python-terminaltables
2020-07-04 19:31 [bug#42201] [PATCH 1/3] gnu: Add python-terminaltables guy fleury iteriteka
2020-07-04 19:31 ` [bug#42200] [PATCH 2/3] gnu: Add python-cli-helpers guy fleury iteriteka
2020-07-04 19:31 ` [bug#42202] [PATCH 3/3] gnu: Add mycli guy fleury iteriteka
@ 2020-07-08 10:56 ` Nicolas Goaziou
2 siblings, 0 replies; 6+ messages in thread
From: Nicolas Goaziou @ 2020-07-08 10:56 UTC (permalink / raw)
To: guy fleury iteriteka; +Cc: 42201-done
Hello,
guy fleury iteriteka <gfleury@disroot.org> writes:
> * gnu/packages/python-xyz.scm(python-terminaltables): New variable.
I pushed the 3 patches. Thank you.
Note that it is usually not a good idea to stuff new packages at the end
of a file: it may introduce merge conflicts.
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2020-07-25 18:48 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-07-04 19:31 [bug#42201] [PATCH 1/3] gnu: Add python-terminaltables guy fleury iteriteka
2020-07-04 19:31 ` [bug#42200] [PATCH 2/3] gnu: Add python-cli-helpers guy fleury iteriteka
2020-07-25 18:46 ` bug#42200: " Oleg Pykhalov
2020-07-04 19:31 ` [bug#42202] [PATCH 3/3] gnu: Add mycli guy fleury iteriteka
2020-07-25 18:45 ` bug#42202: " Oleg Pykhalov
2020-07-08 10:56 ` bug#42201: [PATCH 1/3] gnu: Add python-terminaltables Nicolas Goaziou
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.