guix-commits
[Top][All Lists]
Advanced

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

08/09: gnu: Add python-termcolor.


From: Ben Woodcroft
Subject: 08/09: gnu: Add python-termcolor.
Date: Tue, 27 Sep 2016 10:50:53 +0000 (UTC)

benwoodcroft pushed a commit to branch master
in repository guix.

commit 67f66812f5ef1bfba59cfd53ace6f41196cd0227
Author: Ben J Woodcroft <address@hidden>
Date:   Mon Sep 26 15:26:17 2016 +1000

    gnu: Add python-termcolor.
    
    * gnu/packages/python.scm (python-termcolor, python2-termcolor): New
    variables.
---
 gnu/packages/python.scm |   24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 688a5d4..529b7fd 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -6295,6 +6295,30 @@ a hash value.")
     (name "python2-tlsh")
     (inputs `(("python" ,python-2)))))
 
+(define-public python-termcolor
+  (package
+    (name "python-termcolor")
+    (version "1.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "python-termcolor" version))
+       (sha256
+        (base32
+         "0fv1vq14rpqwgazxg4981904lfyp84mnammw7y046491cv76jv8x"))))
+    (build-system python-build-system)
+    (arguments
+     ;; There are no tests.
+     `(#:tests? #f))
+    (home-page "http://pypi.python.org/pypi/termcolor";)
+    (synopsis "ANSII Color formatting for terminal output")
+    (description
+     "This package provides ANSII Color formatting for output in terminals.")
+    (license license:expat)))
+
+(define-public python2-termcolor
+  (package-with-python2 python-termcolor))
+
 (define-public python-libarchive-c
   (package
     (name "python-libarchive-c")



reply via email to

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