~ruther/guix-local

060cfe93e97a35cf670f67eaf6d70ace79a6d020 — Hugo Buddelmeijer 5 months ago 20b16e2
gnu: Add python-rich-argparse.

* gnu/packages/python-xyz.scm (python-rich-argparse): New variable.

Change-Id: I578ce47998dad8c8e55e0bade54d3e53e18374b7
Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
1 files changed, 27 insertions(+), 0 deletions(-)

M gnu/packages/python-xyz.scm
M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +27 -0
@@ 1498,6 1498,33 @@ of VT100 terminal.")
edit distance algorithm for Python in Cython for high performance.")
    (license license:bsd-3)))

(define-public python-rich-argparse
  (package
    (name "python-rich-argparse")
    (version "1.7.1")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
              (url "https://github.com/hamdanal/rich-argparse")
              (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32
         "0wydhy1167yv7lm07iy3aysyhxyixc24ma1wdna36c06d24wbdc0"))))
    (build-system pyproject-build-system)
    (native-inputs
     (list python-pytest
           python-hatchling))
    (propagated-inputs
     (list python-rich))
    (home-page "https://github.com/hamdanal/rich-argparse")
    (synopsis "Format argparse and optparse help using rich")
    (description
     "This package improves the look and readability of argparse's help while
requiring minimal changes to the code.")
    (license license:expat)))

(define-public python-safety-schemas
  (package
    (name "python-safety-schemas")