From 440d0afb9307bc01fb2804ee42e1e02a6d24039f Mon Sep 17 00:00:00 2001 From: David Thompson Date: Mon, 7 Dec 2015 16:18:35 -0500 Subject: [PATCH 1/8] gnu: Add python-colorama. * gnu/packages/python.scm (python-colorama, python2-colorama): New variables. --- gnu/packages/python.scm | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 813711a..a12709f 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -10,7 +10,7 @@ ;;; Copyright © 2015 Ricardo Wurmus ;;; Copyright © 2015 Christopher Allan Webber ;;; Copyright © 2015 Eric Dvorsak -;;; Copyright © 2015 David Thompson +;;; Copyright © 2015, 2016 David Thompson ;;; Copyright © 2015 Leo Famulari ;;; Copyright © 2015 Ben Woodcroft ;;; Copyright © 2015, 2016 Erik Edrosa @@ -7252,3 +7252,28 @@ supports url redirection and retries, and also gzip and deflate decoding.") (define-public python2-urllib3 (package-with-python2 python-urllib3)) + +(define-public python-colorama + (package + (name "python-colorama") + (version "0.3.3") + (source + (origin + (method url-fetch) + (uri (string-append + "https://pypi.python.org/packages/source/c/colorama/colorama-" + version ".tar.gz")) + (sha256 + (base32 + "1716z9pq1r5ys3nkg7wdrb3h2f9rmd0zdxpxzmx3bgwgf6xg48gb")))) + (build-system python-build-system) + (inputs + `(("python-setuptools" ,python-setuptools))) + (synopsis "colored terminal text rendering for Python") + (description "Colorama is a Python library for rendering colored terminal +text.") + (home-page "https://pypi.python.org/pypi/colorama") + (license bsd-3))) + +(define-public python2-colorama + (package-with-python2 python-colorama)) -- 2.6.3