gnu: python-pygments: Update to 2.12.0.

* gnu/packages/python-xyz.scm (python-pygments): Update to 2.12.0.
(python2-pygments): Delete variable.
This commit is contained in:
Maxim Cournoyer 2022-05-05 08:29:10 -04:00
parent 1475672e5f
commit 99c6813546
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -4438,21 +4438,7 @@ (define-public python-pygments
(synopsis "Syntax highlighting")
(description
"Pygments is a syntax highlighting package written in Python.")
(license license:bsd-2)
(properties `((python2-variant . ,(delay python2-pygments))))))
;; Pygments 2.6 and later does not support Python 2.
(define-public python2-pygments
(let ((base (package-with-python2 (strip-python2-variant python-pygments))))
(package
(inherit base)
(version "2.5.2")
(source (origin
(method url-fetch)
(uri (pypi-uri "Pygments" version))
(sha256
(base32
"1zmhnswy0wxfn0xprs9aqsvx2c3kmzfn2wx14q8cv3vpkxdamj4q")))))))
(license license:bsd-2)))
(define-public python-pygments-github-lexers
(package