gnu: texlive-letltxmacro: Refresh package definition.

* gnu/packages/tex.scm (texlive-letltxmacro): Remove SIMPLE-TEXLIVE-PACKAGE
call.
[propagated-inputs]: Add TEXLIVE-ETOOLBOX.
This commit is contained in:
Nicolas Goaziou 2023-05-15 23:24:22 +02:00
parent b91b5f41af
commit 4c32374294
No known key found for this signature in database
GPG Key ID: DA00B4F048E92F2D

View File

@ -6831,30 +6831,28 @@ footnotes with symbols rather than numbers.")
(define-deprecated-package texlive-latex-footmisc texlive-footmisc) (define-deprecated-package texlive-latex-footmisc texlive-footmisc)
(define-public texlive-letltxmacro (define-public texlive-letltxmacro
(let ((template (simple-texlive-package (package
"texlive-letltxmacro" (name "texlive-letltxmacro")
(list "doc/latex/letltxmacro/" (version (number->string %texlive-revision))
"source/latex/letltxmacro/" (source (texlive-origin
"tex/latex/letltxmacro/") name version
(base32 (list "doc/latex/letltxmacro/"
"16bmwsng9p80jf78sdmib24apwnw3raw306cs1ms50z5s9dsfdby")))) "source/latex/letltxmacro/"
(package "tex/latex/letltxmacro/")
(inherit template) (base32
(outputs '("out" "doc")) "16bmwsng9p80jf78sdmib24apwnw3raw306cs1ms50z5s9dsfdby")))
(arguments (outputs '("out" "doc"))
(substitute-keyword-arguments (package-arguments template) (build-system texlive-build-system)
((#:tex-directory _ '()) (propagated-inputs
"latex/letltxmacro") (list texlive-etoolbox))
((#:build-targets _ '()) (home-page "https://ctan.org/pkg/letltxmacro")
#~(list "letltxmacro.dtx")))) (synopsis "Let assignment for LaTeX macros")
(home-page "https://www.ctan.org/pkg/letltxmacro") (description
(synopsis "Let assignment for macros") "TeX's @code{\\let} assignment does not work for LaTeX macros with
(description optional arguments or for macros that are defined as robust macros by
"TeXs @code{\\let} assignment does not work for LaTeX macros with @code{\\DeclareRobustCommand}. This package defines @code{\\LetLtxMacro} that
optional arguments, or for macros that are defined as robust macros by also takes care of the involved internal macros.")
@code{\\DeclareRobustCommand}. This package defines @code{\\LetLtxMacro} (license license:lppl1.3+)))
that also takes care of the involved internal macros.")
(license license:lppl1.3c+))))
(define-deprecated-package texlive-latex-letltxmacro texlive-letltxmacro) (define-deprecated-package texlive-latex-letltxmacro texlive-letltxmacro)