diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2023-05-14 11:20:42 +0200 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2023-07-18 18:10:56 +0200 |
commit | 626d67e657042d98d02236159b2dc0b0a2c696d3 (patch) | |
tree | b4c3320c5fe259a97335e290803ed823449398c7 | |
parent | 0bea37aae7a5b3a88602041a88a38bc4ecb2d337 (diff) | |
download | guix-626d67e657042d98d02236159b2dc0b0a2c696d3.tar.gz |
gnu: texlive-ifmtarg: Fix build.
* gnu/packages/tex.scm (texlive-ifmtarg): Remove `simple-texlive-package' call. Add missing location.
-rw-r--r-- | gnu/packages/tex.scm | 43 |
1 files changed, 21 insertions, 22 deletions
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index f5460553bc..3c24310045 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -11134,28 +11134,27 @@ floats merely delays the arrival of the inevitable error message.") (license license:lppl1.3c+)))) (define-public texlive-ifmtarg - (let ((template (simple-texlive-package - "texlive-ifmtarg" - (list "/doc/latex/ifmtarg/" - "/source/latex/ifmtarg/") - (base32 - "0cwjn4bhq9zyfxr1595hgyc1d7rcsf9lva55x98q81xy5xrrmrb2")))) - (package - (inherit template) - (arguments - (substitute-keyword-arguments (package-arguments template) - ((#:tex-directory _ '()) - "latex/ifmtarg") - ((#:build-targets _ '()) - ''("ifmtarg.ins")) - ((#:tex-format _ "latex") "latex"))) - (inputs - (list texlive-filecontents)) - (home-page "https://www.ctan.org/pkg/ifmtarg") - (synopsis "If-then-else command for processing potentially empty arguments") - (description "This package provides a command for the LaTeX programmer for -testing whether an argument is empty.") - (license license:lppl1.3c+)))) + (package + (name "texlive-ifmtarg") + (version (number->string %texlive-revision)) + (source (texlive-origin + name version + (list "doc/latex/ifmtarg/" "source/latex/ifmtarg/" + "tex/latex/ifmtarg/") + (base32 + "19bfi12j5ra19k6vjd1q5fjsm68vipa7ida7pg9pf15l5pxwbgqz"))) + (outputs '("out" "doc")) + (build-system texlive-build-system) + (arguments + (list #:tex-format "latex")) + (native-inputs + (list texlive-filecontents)) + (home-page "https://ctan.org/pkg/ifmtarg") + (synopsis "If-then-else command for processing potentially empty arguments") + (description + "This package provides a command for the LaTeX programmer for testing +whether an argument is empty.") + (license license:lppl1.3c+))) (define-public texlive-pagenote (let ((template (simple-texlive-package |