~ruther/guix-local

da5ce589009e1a2917e4374ebcf45349f1077b66 — Sharlatan Hellseher 3 months ago 470dd23
gnu: Add python-represent.

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

Change-Id: If8081edde0caf8808a1930ed648c6896ba2b3a6f
1 files changed, 25 insertions(+), 0 deletions(-)

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

(define-public python-represent
  (package
    (name "python-represent")
    (version "2.1")
    (source
     (origin
       (method url-fetch)
       (uri (pypi-uri "Represent" version))
       (sha256
        (base32 "1b5wbnkjirscfqwcb6ik8klky0ajm4qs2yvabqxnpfp72if02b8b"))))
    (build-system pyproject-build-system)
    (native-inputs
     ;; XXX This might be too much for testing, maybe switch them off as it's
     ;; a simple middleware library.
     (list python-ipython
           python-pytest
           python-rich
           python-setuptools))
    (home-page "https://github.com/RazerM/represent")
    (synopsis "Create @code{__repr__} automatically or declaratively for Python")
    (description
     "This package implements a functionality to generate Python
@code{__repr__} methods automatically or declaratively.")
    (license license:expat)))

(define-public python-rich-argparse
  (package
    (name "python-rich-argparse")