From fc1780bf7930de8c6b96966e19e7ba4aecf52589 Mon Sep 17 00:00:00 2001 From: Muriithi Frederick Muriuki Date: Fri, 14 Apr 2017 11:35:40 +0300 Subject: [PATCH 09/20] gnu: Add python-couleur * gnu/packages/python.scm (python-couleur): New variable. --- gnu/packages/python.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 951b7c7..148ed74 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -14179,3 +14179,32 @@ Sure is heavily inspired by @code{RSpec Expectations} and @code{should.js}") (define-public python2-sure (package-with-python2 python-sure)) + +(define-public python-couleur + (package + (name "python-couleur") + (version "0.6.2") + (source + (origin + (method url-fetch) + (uri (pypi-uri "couleur" version)) + (sha256 + (base32 + "1qqaxyqz74wvid0cr119dhcwz0h0if5b5by44zl49pd5z65v58k1")))) + (build-system python-build-system) + (arguments + `(;; The package builds successfully with python3, but the + ;; tests are python-2 dependent, (strings of the form + ;; ur'val-of-str' and imports of python-2 specific + ;; modules) + #:tests? #f)) + (home-page + "http://github.com/gabrielfalcao/couleur") + (synopsis + "ANSI terminal tool for python, colored shell and other handy fancy features") + (description + "Couleur is a handy tool to play around with ANSI features in a unix terminal.") + (license license:asl2.0))) + +(define-public python2-couleur + (package-with-python2 python-couleur)) -- 2.10.2