guix_mirror_bot pushed a commit to branch astro-updates
in repository guix.

commit e29ffc15810b28119f62044d379537c4517faa43
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Wed Nov 12 12:19:06 2025 +0000

    gnu: Add python-represent.
    
    * gnu/packages/python-xyz.scm (python-represent): New variable.
    
    Change-Id: If8081edde0caf8808a1930ed648c6896ba2b3a6f
---
 gnu/packages/python-xyz.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 84ef203066..73f7258d16 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -1965,6 +1965,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")

Reply via email to