From a00b83b2f1c3d79a6f08b4bfce20f1d576b9c4e8 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Sun, 30 Jul 2023 16:42:54 +0200 Subject: [PATCH] gnu: Add texlive-pythonhighlight. * gnu/packages/tex.scm (texlive-pythonhighlight): New variable. --- gnu/packages/tex.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 3d252b0754..e2dea613f4 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -5687,6 +5687,26 @@ elements such as keywords, identifiers, and comments.") algorithms in a natural manner.") (license license:lppl))) +(define-public texlive-pythonhighlight + (package + (name "texlive-pythonhighlight") + (version (number->string %texlive-revision)) + (source (texlive-origin + name version + (list "doc/latex/pythonhighlight/" + "tex/latex/pythonhighlight/") + (base32 + "1grvq2sih8klkvzgyrc4fpalv7q670l9q00vs8293n698bhmn72g"))) + (outputs '("out" "doc")) + (build-system texlive-build-system) + (home-page "https://ctan.org/pkg/pythonhighlight") + (synopsis + "Highlighting of Python code, based on the @code{listings} package") + (description + "This package allows highlighting of Python code, based on the +@code{listings} package.") + (license license:bsd-3))) + (define-public texlive-bibtex8 (package (name "texlive-bibtex8")