guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

292/420: gnu: Add python-rich-tables.


From: guix-commits
Subject: 292/420: gnu: Add python-rich-tables.
Date: Tue, 26 Nov 2024 16:29:19 -0500 (EST)

sharlatan pushed a commit to branch python-team
in repository guix.

commit 466fae00ae9ab4b5a47aa66fb106fff3d4eaa65f
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Sun Nov 10 13:10:57 2024 +0000

    gnu: Add python-rich-tables.
    
    * gnu/packages/python-xyz.scm (python-rich-tables): New variable.
    
    Change-Id: Ie06dfe6fa98b1f245ceccf98c905265bb27e16d3
---
 gnu/packages/python-xyz.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 2dcbc344d5..05d7d57e3a 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]