[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 30/31] gnu: Add python-pygments.
From: |
David Thompson |
Subject: |
[PATCH 30/31] gnu: Add python-pygments. |
Date: |
Fri, 5 Sep 2014 11:18:36 -0400 |
* gnu/packages/python.scm (python-pygments, python2-pygments): New variables.
---
gnu/packages/python.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index b90d4d7..7dc0a46 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -1842,3 +1842,28 @@ reStructuredText.")
(define-public python2-docutils
(package-with-python2 python-docutils))
+(define-public python-pygments
+ (package
+ (name "python-pygments")
+ (version "1.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://pypi.python.org/packages/source/P/Pygments/Pygments-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "1h11r6ss8waih51vcksfvzghfxiav2f8svc0812fa5kmyz5d97kr"))))
+ (build-system python-build-system)
+ (inputs
+ `(("python-setuptools" ,python-setuptools)))
+ (home-page "http://pygments.org/")
+ (synopsis "Syntax highlighting")
+ (description
+ "Pygments is a syntax highlighting package written in Python.")
+ (license bsd-2)))
+
+(define-public python2-pygments
+ (package-with-python2 python-pygments))
+
--
2.0.1
- Re: [PATCH 12/31] gnu: Add python-pytest., (continued)
- [PATCH 28/31] gnu: Add python-jinja2., David Thompson, 2014/09/05
- [PATCH 27/31] gnu: Add python-markupsafe., David Thompson, 2014/09/05
- [PATCH 29/31] gnu: Add python-docutils., David Thompson, 2014/09/05
- [PATCH 20/31] gnu: Add python-discover., David Thompson, 2014/09/05
- [PATCH 30/31] gnu: Add python-pygments.,
David Thompson <=
- [PATCH 31/31] gnu: Add python-sphinx., David Thompson, 2014/09/05
- Re: [PATCH 01/31] gnu: Add python-exif-read., Ludovic Courtès, 2014/09/05