gnu: texlive-filecontents: Refresh package definition.

* gnu/packages/tex.scm (texlive-filecontents): Remove SIMPLE-TEXLIVE-PACKAGE
call.
This commit is contained in:
Nicolas Goaziou 2023-05-16 00:20:02 +02:00
parent 5c0d75bf1e
commit 8a7628247e
No known key found for this signature in database
GPG Key ID: DA00B4F048E92F2D

View File

@ -3454,29 +3454,29 @@ a process to convert the EPS to PDF, using the script @command{epstopdf}.")
(define-deprecated-package texlive-latex-epstopdf-pkg texlive-epstopdf-pkg) (define-deprecated-package texlive-latex-epstopdf-pkg texlive-epstopdf-pkg)
(define-public texlive-filecontents (define-public texlive-filecontents
(let ((template (simple-texlive-package (package
"texlive-filecontents" (name "texlive-filecontents")
(list "doc/latex/filecontents/" (version (number->string %texlive-revision))
"source/latex/filecontents/" (source (texlive-origin
"tex/latex/filecontents/") name version
(base32 (list "doc/latex/filecontents/"
"0ifhqfdzx91hrmndhg5441rpmv9k4lxrql02kd5yx75xpplxryzw")))) "source/latex/filecontents/"
(package "tex/latex/filecontents/")
(inherit template) (base32
(arguments "0ifhqfdzx91hrmndhg5441rpmv9k4lxrql02kd5yx75xpplxryzw")))
(substitute-keyword-arguments (package-arguments template) (outputs '("out" "doc"))
((#:tex-directory _ '()) "latex/filecontents"))) (build-system texlive-build-system)
(home-page "https://ctan.org/pkg/filecontents") (home-page "https://ctan.org/pkg/filecontents")
(synopsis "Create an external file from within a LaTeX document") (synopsis "Create an external file from within a LaTeX document")
(description (description
"LaTeX2e's @code{filecontents} and @code{filecontents*} environments "LaTeX2e's @code{filecontents} and @code{filecontents*} environments
enable a LaTeX source file to generate external files as it runs through enable a LaTeX source file to generate external files as it runs through
LaTeX. However, there are two limitations of these environments: they refuse LaTeX. However, there are two limitations of these environments: they refuse
to overwrite existing files, and they can only be used in the preamble of to overwrite existing files, and they can only be used in the preamble of
a document. The filecontents package removes these limitations, letting you a document. The filecontents package removes these limitations, letting you
overwrite existing files and letting you use @code{filecontents} overwrite existing files and letting you use @code{filecontents}
@code{filecontents*} anywhere.") @code{filecontents*} anywhere.")
(license license:lppl1.3c+)))) (license license:lppl1.3c+)))
(define-deprecated-package texlive-latex-filecontents texlive-filecontents) (define-deprecated-package texlive-latex-filecontents texlive-filecontents)