gnu: Add python-represent.

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

Change-Id: If8081edde0caf8808a1930ed648c6896ba2b3a6f
This commit is contained in:
Sharlatan Hellseher 2025-11-12 12:19:06 +00:00
parent 470dd23942
commit da5ce58900
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -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")