From mboxrd@z Thu Jan 1 00:00:00 1970 From: Muriithi Frederick Muriuki Subject: [PATCH 1/6] gnu: Add python-rst2ansi Date: Tue, 7 Feb 2017 21:00:36 +0300 Message-ID: <1486490441-3995-1-git-send-email-fredmanglis@gmail.com> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52523) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cbA3R-0005xE-L0 for guix-devel@gnu.org; Tue, 07 Feb 2017 12:59:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cbA3O-0005Mc-GI for guix-devel@gnu.org; Tue, 07 Feb 2017 12:59:49 -0500 Received: from mail-wm0-x236.google.com ([2a00:1450:400c:c09::236]:38555) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cbA3O-0005MF-8l for guix-devel@gnu.org; Tue, 07 Feb 2017 12:59:46 -0500 Received: by mail-wm0-x236.google.com with SMTP id r141so162209115wmg.1 for ; Tue, 07 Feb 2017 09:59:46 -0800 (PST) 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: Muriithi Frederick Muriuki * gnu/packages/python.scm (python-rst2ansi): New variable. --- gnu/packages/python.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index d53eea1..b57e9a7 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -12536,3 +12536,26 @@ console.") This implementation is slow (hence the project name) but still useful when faster ones are not available.") (license license:asl2.0))) + +(define-public python-rst2ansi + (package + (name "python-rst2ansi") + (version "0.1.5") + (source + (origin + (method url-fetch) + (uri (pypi-uri "rst2ansi" version)) + (sha256 + (base32 + "0vzy6gd60l79ff750scl0sz48r1laalkl6md6dwzah4dcadgn5qv")))) + (build-system python-build-system) + (native-inputs + `(("python-docutils" ,python-docutils))) + (home-page + "https://github.com/Snaipe/python-rst-to-ansi") + (synopsis + "Python rst converter to ansi-decorated console output") + (description + "Python module dedicated to rendering RST (reStructuredText) documents to + ansi-escaped strings suitable for display in a terminal") + (license license:expat))) -- 2.1.4