From 2b2f2fc1797c3a5d8398307205365667ce5941db Mon Sep 17 00:00:00 2001 From: David Thompson Date: Mon, 7 Dec 2015 16:18:35 -0500 Subject: [PATCH] gnu: Add python-colorama. * gnu/packages/python.scm (python-colorama, python2-colorama): New variables. --- gnu/packages/python.scm | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 433fe3ceaf..247d3c5b5e 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 @@ -7250,3 +7250,26 @@ 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 (pypi-uri "colorama" version)) + (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))