guix_mirror_bot pushed a commit to branch master
in repository guix.

commit fef4512c0812abeef6ea7fb8c94b3ad0a6fba2c8
Author: Nicolas Graves <[email protected]>
AuthorDate: Tue Jul 22 18:04:47 2025 +0200

    gnu: Add python-rich-click-next.
    
    * gnu/packages/python-xyz.scm (python-rich-click-next): New variable.
    
    Change-Id: I551b3f0efb016d0d8e40f5293d2b7f86385ea107
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/python-xyz.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index d589128983..adc60fb018 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -21917,6 +21917,37 @@ representation.")
 syntax highlighting, markdown and more to the terminal.")
     (license license:expat)))
 
+;; TODO: Merge with python-rich-click on next python-team iteration.
+(define-public python-rich-click-next
+  ;; Hidden from the CLI, so that we don't have warnings or surprises on
+  ;; installation, but other packages can still refer to it.
+  (hidden-package
+   (package
+     (name "python-rich-click")
+     (version "1.8.9")
+     (source
+      (origin
+        (method git-fetch)
+        (uri (git-reference
+               (url "https://github.com/ewels/rich-click";)
+               (commit (string-append "v" version))))
+        (file-name (git-file-name name version))
+        (sha256
+         (base32 "0kc2wcb5dpgxhdcz8fy6gfhl7vra03xwgwfg7h0qxxibr8yzhmmq"))))
+     (build-system pyproject-build-system)
+     (propagated-inputs
+      (list python-click python-importlib-metadata python-rich
+            python-typing-extensions))
+     (native-inputs (list python-pytest python-setuptools python-wheel))
+     (home-page "https://github.com/ewels/rich-click";)
+     (synopsis "Format click help output nicely with rich")
+     (description "Click is a \"Python package for creating beautiful command
+line interfaces\".  Rich is a \"Python library for rich text and beautiful
+formatting in the terminal\".  The intention of rich-click is to provide
+attractive help output from click, formatted with rich, with minimal
+customization required.")
+     (license license:expat))))
+
 (define-public python-rich-click
   (package
     (name "python-rich-click")

Reply via email to