From d97a40717c4d1f944168a3b97eab6e2bd4186cbc Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Tue, 29 Aug 2023 15:57:45 +0200 Subject: [PATCH] gnu: Add texlive-patch. * gnu/packages/tex.scm (texlive-patch): 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 6f6ef23daf..f3a323d51a 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -91526,6 +91526,26 @@ for populating locations in the grid. PGF/TikZ is used for placement and population of the cells.") (license license:lppl))) +(define-public texlive-patch + (package + (name "texlive-patch") + (version (number->string %texlive-revision)) + (source (texlive-origin + name version + (list "source/generic/patch/") + (base32 + "02xfy1fs30nha0l03lqwl8xrpd81855kb5nb660ks83aj187dghy"))) + (build-system texlive-build-system) + (home-page "https://ctan.org/pkg/patch") + (synopsis "Patch loaded packages, etc.") + (description + "The package defines macros that allow patching of existing commands, +specifying those parts of the existing macro to be replaced, along with the +replacements. Thus it provides more sophisticated manipulation than a package +like @code{patchcmd}, which only permits modification by adding commands at +the beginning or end of an existing definition.") + (license license:lppl))) + ;;; ;;; Avoid adding new packages to the end of this file. To reduce the chances ;;; of a merge conflict, place them above by existing packages with similar