diff options
| author | Sören Tempel <soeren+git@soeren-tempel.net> | 2026-01-16 08:04:36 +0100 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2026-02-06 20:49:02 +0100 |
| commit | d98cf2b1b4ec5b4b5b317ddb7ef66613e533feea (patch) | |
| tree | 2e9d187f6dfd31a9754b8a10ff461bf7c622f4e6 | |
| parent | 1beeb4db9baa3db999367d69a198bb4ab30853ab (diff) | |
gnu: Add python-latexminted.
* gnu/packages/python-xyz.scm (python-latexminted): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
| -rw-r--r-- | gnu/packages/python-xyz.scm | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 22bd99debe0..d482b9324c5 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -26813,6 +26813,32 @@ passed from LaTeX to Python.") (description "Lexer and codec to work with LaTeX code in Python.") (license license:expat))) +(define-public python-latexminted + (package + (name "python-latexminted") + ;; Version 0.6.0 is not compatible with our packaged python-pygments. + (version "0.5.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "latexminted" version)) + (sha256 + (base32 "12pj51nw7k3h6pv8r7k7382jwvs5wsd80cpkv222nkv07gnfg390")))) + (build-system pyproject-build-system) + (propagated-inputs (list python-latex2pydata + python-latexrestricted + python-pygments)) + (native-inputs (list texlive-kpathsea python-setuptools python-wheel)) + (home-page "https://github.com/gpoore/minted") + (synopsis "Python library for the LaTeX minted package") + (description "This Python package provides the Python side of the +@code{texlive-minted} LaTeX package. It performs syntax highlighting using the +@code{python-pygments} library. It also provides several code formatting and +manipulation features implemented in Python that would be difficult to perform +in LaTeX, such as dedenting code and extracting code snippets from source files +using regular expressions.") + (license license:lppl1.3c+))) + (define-public python-latexrestricted (package (name "python-latexrestricted") |
