From c0b892b696473213754f34f7d58158cc0db2f51c Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Sun, 14 May 2023 21:11:04 +0200 Subject: [PATCH] gnu: Add texlive-regexpatch. * gnu/packages/tex.scm (texlive-regexpatch): New variable. --- gnu/packages/tex.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 2321bfb096..cf4d150de9 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -3849,6 +3849,32 @@ (define-public texlive-oberdiek (define-deprecated-package texlive-latex-oberdiek texlive-oberdiek) +(define-public texlive-regexpatch + (package + (name "texlive-regexpatch") + (version (number->string %texlive-revision)) + (source (texlive-origin + name version + (list "doc/latex/regexpatch/" + "source/latex/regexpatch/" + "tex/latex/regexpatch/") + (base32 + "1jv8hvkvq0yvc8mh68ybj8fvhf6kcdzwjin1czs45i26s0dpsngj"))) + (outputs '("out" "doc")) + (build-system texlive-build-system) + (propagated-inputs + (list texlive-l3kernel + texlive-l3packages)) + (home-page "https://ctan.org/pkg/regexpatch") + (synopsis "High level patching of commands") + (description + "The package generalises the macro patching commands provided by +P. Lehmann's @code{etoolbox}. The difference between this package and its +sibling @code{xpatch} is that this package sports a very powerful +@code{\\regexpatchcmd} based on the @code{l3regex} module of the LaTeX3 +experimental packages.") + (license license:lppl1.3c))) + (define-public texlive-rerunfilecheck (let ((template (simple-texlive-package "texlive-rerunfilecheck"