From mboxrd@z Thu Jan 1 00:00:00 1970 From: Muriithi Frederick Muriuki Subject: [PATCH 09/20] gnu: Add python-couleur Date: Fri, 14 Apr 2017 13:13:09 +0300 Message-ID: <20170414101320.11755-9-fredmanglis@gmail.com> References: <20170414101320.11755-1-fredmanglis@gmail.com> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44143) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cyyE7-0000sJ-O2 for guix-devel@gnu.org; Fri, 14 Apr 2017 06:13:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cyyE6-0005Qm-Ke for guix-devel@gnu.org; Fri, 14 Apr 2017 06:13:15 -0400 Received: from mail-wm0-x243.google.com ([2a00:1450:400c:c09::243]:33275) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cyyE6-0005QV-Du for guix-devel@gnu.org; Fri, 14 Apr 2017 06:13:14 -0400 Received: by mail-wm0-x243.google.com with SMTP id o81so17139732wmb.0 for ; Fri, 14 Apr 2017 03:13:14 -0700 (PDT) In-Reply-To: <20170414101320.11755-1-fredmanglis@gmail.com> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org Cc: pjotr2017@thebird.nl * 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