From cfa7319eaca1073fa570d91969be7da88dc1ddd1 Mon Sep 17 00:00:00 2001 From: Muriithi Frederick Muriuki Date: Wed, 25 Jan 2017 15:53:55 +0300 Subject: python.scm: Add new package python-rst2ansi --- gn/packages/python.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gn/packages/python.scm b/gn/packages/python.scm index 7dbd968..97befcf 100644 --- a/gn/packages/python.scm +++ b/gn/packages/python.scm @@ -459,3 +459,30 @@ version ".tgz")) "Numarray is an array processing package designed to efficiently manipulate large multi-dimensional arrays. Numarray is modelled after Numeric and features c-code generated from python template scripts, the capacity to operate directly on arrays in files, and improved type promotions. Numarray provides support for manipulating arrays consisting of numbers, strings, records, or objects using the same basic infrastructure and syntax. Numarray is now part of the numpy package, though some legacy software still uses the older versions.") (license license:gpl2))) ; actualy PyRAF http://www.stsci.edu/resources/software_hardware/pyraf/LICENSE + +(define-public python-rst2ansi + (package + (name "python-rst2ansi") + (version "0.1.5") + (source + (origin + (method url-fetch) + (uri (string-append + "https://pypi.python.org/packages/3c/19/b29bc04524e7d1dbde13272fbb67e45a8eb2" + "4bb6d112cf10c46162b350d7/rst2ansi-" + version + ".tar.gz")) + (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))) -- cgit v1.2.3