From fb35b7c0889f6b6f19edfc2ba26b9a97572638d3 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Fri, 5 Sep 2014 18:22:51 -0400 Subject: gnu: Add python-pygments. * gnu/packages/python.scm (python-pygments, python2-pygments): New variables. --- gnu/packages/python.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index f2d1f90b89..f012a8d801 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -1780,3 +1780,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)) -- cgit v1.2.3 224970dbc4b3bdafbf99007f0500abbab0020'>commitdiff
path: root/tests/opam.scm
AgeCommit message (Expand)Author
2021-11-18tests: Adjust opam and pypi tests to simplified inputs....* tests/opam.scm ("opam->guix-package"): Expect simplified inputs. * tests/pypi.scm ("pypi->guix-package, package name contains \"-\" followed by digits"): Likewise. Ludovic Courtès
2021-10-12Merge remote-tracking branch 'origin/master' into core-updates-frozen.Mathieu Othacehe
2021-09-18tests: Allow opam test to run without networking....Fixes a regression introduced in fc29c80b9635ff490bcc768c774442043cb1e231, where, since 'get-opam-repository' was no longer mocked, the test would try to access the actual OPAM repository through a call to 'http-fetch/cached'; this would lead to a test failure when networking is unavailable. * tests/opam.scm ("opam->guix-package"): Mock 'get-opam-repository' again. Ludovic Courtès