From b4382b294e6cd475e9476610d98fdd0bdaec4c84 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Thu, 1 Jun 2023 15:21:15 +0200 Subject: [PATCH] gnu: Add python-colored. * gnu/packages/python-xyz.scm (python-colored): New variable. --- gnu/packages/python-xyz.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index cf462cc07f..4dc05c694f 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -735,6 +735,28 @@ (define-public python-cobib git integration, command-line support, and a curses-based TUI.") (license license:expat))) +(define-public python-colored + (package + (name "python-colored") + (version "1.4.4") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.com/dslackw/colored") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "196ins0m7f90xz5dw764dlx060ziqbcydqzzq40b4ir5858baf3r")))) + (build-system pyproject-build-system) + (arguments (list #:tests? #false)) ;the tests are not run automatically + (home-page "https://gitlab.com/dslackw/colored") + (synopsis "Simple library for color and formatting to terminal") + (description "This is a very simple Python library for color and +formatting in the terminal. It comes with a collection of color codes and +names for 256 color terminal setups.") + (license license:expat))) + (define-public python-colorful (package (name "python-colorful")