diff options
author | Nicolas Graves <ngraves@ngraves.fr> | 2025-07-22 18:04:47 +0200 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-07-25 11:32:14 +0100 |
commit | fef4512c0812abeef6ea7fb8c94b3ad0a6fba2c8 (patch) | |
tree | 2141d89e52aaa1c3f01f9e69fd8ec0fd3d7870b4 /gnu/packages/python-xyz.scm | |
parent | 149faa094894d9c1422fd2466b806e8ad1a6639b (diff) |
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 <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r-- | gnu/packages/python-xyz.scm | 31 |
1 files changed, 31 insertions, 0 deletions
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") |