diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index ba50ccd40d..7cfebfbd5b 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -6350,24 +6350,26 @@ (define-public texlive-carlisle (license license:lppl))) (define-public texlive-catchfile - (let ((template (simple-texlive-package - "texlive-catchfile" - (list "/doc/latex/catchfile/" - "/source/latex/catchfile/" - "/tex/generic/catchfile/") - (base32 - "1dpxy64hs0bjp8d2dmikflc995vazf7fi6z92w51fnj2fidgl8gx")))) - (package - (inherit template) - (arguments - (substitute-keyword-arguments (package-arguments template) - ((#:tex-directory _ #t) - "latex/catchfile"))) - (home-page "https://ctan.org/macros/latex/contrib/catchfile") - (synopsis "Catch an external file into a macro") - (description - "Catchfile catches the contents of a file and puts it in a macro.") - (license license:lppl1.3+)))) + (package + (name "texlive-catchfile") + (version (number->string %texlive-revision)) + (source (texlive-origin + name version + (list "doc/latex/catchfile/" "source/latex/catchfile/" + "tex/generic/catchfile/") + (base32 + "1dpxy64hs0bjp8d2dmikflc995vazf7fi6z92w51fnj2fidgl8gx"))) + (outputs '("out" "doc")) + (build-system texlive-build-system) + (propagated-inputs + (list texlive-etexcmds + texlive-infwarerr + texlive-ltxcmds)) + (home-page "https://ctan.org/macros/latex/contrib/catchfile") + (synopsis "Catch an external file into a macro") + (description + "Catchfile catches the contents of a file and puts it in a macro.") + (license license:lppl1.3+))) (define-public texlive-ddphonism (package