aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2024-11-10 13:10:57 +0000
committerSharlatan Hellseher <sharlatanus@gmail.com>2024-12-13 20:19:08 +0000
commit512660dbc8edc772c507c0f928ac006ee902fc6c (patch)
tree774909f3713a0b374614dde5336853ac864a3bac
parent03df2b0df7c33e02fbe27b5d59fa7cf628f312b2 (diff)
downloadguix-512660dbc8edc772c507c0f928ac006ee902fc6c.tar.gz
guix-512660dbc8edc772c507c0f928ac006ee902fc6c.zip
gnu: Add python-rich-tables.
* gnu/packages/python-xyz.scm (python-rich-tables): New variable. Change-Id: Ie06dfe6fa98b1f245ceccf98c905265bb27e16d3
-rw-r--r--gnu/packages/python-xyz.scm33
1 files changed, 33 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 9646e30a14..8884d3dd29 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -2749,6 +2749,39 @@ utilities such as ping(1).")
with Numpy and SciPy.")
(license license:bsd-3)))
+(define-public python-rich-tables
+ (package
+ (name "python-rich-tables")
+ (version "0.6.1")
+ (source
+ (origin
+ (method git-fetch) ; no tests data in PyPi package
+ (uri (git-reference
+ (url "https://github.com/snejus/rich-tables")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1wqr6sldf97ycs4gfvsqhbh1ki2kgsaicsy44g9lspvlda5nfcp1"))))
+ (build-system pyproject-build-system)
+ (native-inputs
+ (list python-freezegun
+ python-poetry-core
+ python-pytest
+ python-pytest-cov))
+ (propagated-inputs
+ (list python-funcy
+ python-multimethod
+ python-platformdirs
+ python-rgbxy
+ python-rich
+ python-sqlparse))
+ (home-page "https://github.com/snejus/rich-tables")
+ (synopsis "Ready-made rich tables for various purposes")
+ (description
+ "This package implements rich tables for various purposes, it's JSON
+human-prettifier based on the @code{rich} Python library.")
+ (license license:expat)))
+
(define-public python-shapely
(package
(name "python-shapely")