From 67f66812f5ef1bfba59cfd53ace6f41196cd0227 Mon Sep 17 00:00:00 2001 From: Ben J Woodcroft Date: Mon, 26 Sep 2016 15:26:17 +1000 Subject: [PATCH] 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 688a5d4ee8..529b7fdb09 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -6295,6 +6295,30 @@ (define-public python2-tlsh (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")