From e468a5f5722a31ce9999ddba43a8de120521a938 Mon Sep 17 00:00:00 2001 Message-Id: From: phodina Date: Sat, 18 Sep 2021 12:44:21 +0000 Subject: [PATCH v4 1/2] gnu: Add python-veryprettytable. * gnu/packages/python-xyz.scm (python-veryprettytable): New variable. --- gnu/packages/python-xyz.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 4e2e719afc..b1f162d079 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -1793,6 +1793,33 @@ helpers.") (properties `((python2-variant . ,(delay python2-humanfriendly)))) (license license:expat))) +(define-public python-veryprettytable + (package + (name "python-veryprettytable") + (version "0.8.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "veryprettytable" version)) + (sha256 + (base32 + "1k1rifz8x6qcicmx2is9vgxcj0qb2f5pvzrp7zhmvbmci3yack3f")))) + (build-system python-build-system) + (propagated-inputs + `(("python-colorama" ,python-colorama) + ("python-termcolor" ,python-termcolor))) + (home-page + "https://github.com/smeggingsmegger/VeryPrettyTable") + (synopsis + "Visually appealing ASCII table output format for Python") + (description + "VeryPrettyTable is a Python library for displaying tabular data in a +visually appealing ASCII or HTML table. Output is highly configurable, +including text alignment, padding, borders, sort order, and more. Data can be +inserted directly, read from a CSV file, or imported using a Python DB-API +database cursor such as @code{sqlite3}.") + (license license:bsd-3))) + (define-public python2-humanfriendly (let ((base (package-with-python2 (strip-python2-variant python-humanfriendly)))) base-commit: a916d50566e77ae730e34f1753ceb78cc6bf0a5a -- 2.33.0