From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Thompson Subject: [PATCH 30/31] gnu: Add python-pygments. Date: Fri, 5 Sep 2014 11:18:36 -0400 Message-ID: <1409930317-13220-30-git-send-email-dthompson2@worcester.edu> References: <1409930317-13220-1-git-send-email-dthompson2@worcester.edu> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33236) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XPvIR-0001qh-DV for guix-devel@gnu.org; Fri, 05 Sep 2014 11:19:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XPvIL-0003pe-8O for guix-devel@gnu.org; Fri, 05 Sep 2014 11:19:31 -0400 Received: from na3sys009aog118.obsmtp.com ([74.125.149.244]:56141) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XPvIL-0003pS-1D for guix-devel@gnu.org; Fri, 05 Sep 2014 11:19:25 -0400 Received: by mail-yk0-f174.google.com with SMTP id 10so7130277ykt.19 for ; Fri, 05 Sep 2014 08:19:24 -0700 (PDT) In-Reply-To: <1409930317-13220-1-git-send-email-dthompson2@worcester.edu> 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-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org * 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