guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

04/04: gnu: Add python-colored.


From: guix-commits
Subject: 04/04: gnu: Add python-colored.
Date: Thu, 1 Jun 2023 14:48:47 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit b4382b294e6cd475e9476610d98fdd0bdaec4c84
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Thu Jun 1 15:21:15 2023 +0200

    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 @@ It uses a plain-text database, a location-independent 
library, and features
 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]