gnu: texlive-latex-filecontents: Fix package definition.
* gnu/packages/tex.scm (texlive-latex-filecontents)[arguments]: Generate from source.master
parent
adf9537b32
commit
64d97f28b1
|
@ -3340,29 +3340,34 @@ 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-latex-filecontents
|
(define-public texlive-latex-filecontents
|
||||||
(package
|
(let ((template (simple-texlive-package
|
||||||
(name "texlive-latex-filecontents")
|
"texlive-latex-filecontents"
|
||||||
(version (number->string %texlive-revision))
|
(list "doc/latex/filecontents/"
|
||||||
(source (origin
|
"source/latex/filecontents/"
|
||||||
(method svn-fetch)
|
"tex/latex/filecontents/")
|
||||||
(uri (texlive-ref "latex" "filecontents"))
|
(base32
|
||||||
(file-name (string-append name "-" version "-checkout"))
|
"0ifhqfdzx91hrmndhg5441rpmv9k4lxrql02kd5yx75xpplxryzw"))))
|
||||||
(sha256
|
(package
|
||||||
(base32
|
(inherit template)
|
||||||
"1cmfigg5jx3hmdyh4gv8kwxi7dg076ldkxmr46s05xvhzjig1z9x"))))
|
(arguments
|
||||||
(build-system texlive-build-system)
|
(substitute-keyword-arguments (package-arguments template)
|
||||||
(arguments '(#:tex-directory "latex/filecontents"))
|
((#:tex-directory _ '()) "latex/filecontents")
|
||||||
(home-page "https://www.ctan.org/pkg/filecontents")
|
((#:phases phases)
|
||||||
(synopsis "Extended filecontents and filecontents* environments")
|
#~(modify-phases #$phases
|
||||||
(description
|
(add-after 'unpack 'chdir
|
||||||
"LaTeX2e's @code{filecontents} and @code{filecontents*} environments
|
(lambda _
|
||||||
|
(chdir "source/latex/filecontents")))))))
|
||||||
|
(home-page "https://ctan.org/pkg/filecontents")
|
||||||
|
(synopsis "Create an external file from within a LaTeX document")
|
||||||
|
(description
|
||||||
|
"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 a
|
to overwrite existing files, and they can only be used in the preamble of
|
||||||
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-public texlive-epsf
|
(define-public texlive-epsf
|
||||||
(package
|
(package
|
||||||
|
|
Reference in New Issue