Archived
1
0
Fork 0

gnu: texlive-listings: Refresh package definition.

* gnu/packages/tex.scm (texlive-listings): Remove SIMPLE-TEXLIVE-PACKAGE
call.
[propagated-inputs]: Add TEXLIVE-FANCYVRB, TEXLIVE-HYPERREF, TEXLIVE-URL.
This commit is contained in:
Nicolas Goaziou 2023-05-15 23:27:01 +02:00
parent 4c32374294
commit c0011a5d0b
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -6973,30 +6973,30 @@ TeX-paragraphs. All the paragraphs are taken with permission from
(license license:lppl1.3+))) (license license:lppl1.3+)))
(define-public texlive-listings (define-public texlive-listings
(let ((template
(simple-texlive-package
"texlive-listings"
(list "doc/latex/listings/"
"source/latex/listings/"
"tex/latex/listings/")
(base32 "15dnm0j86305x84ss3ymhhcczcw45b2liq01vrab6fj204wzsahk"))))
(package (package
(inherit template) (name "texlive-listings")
(version (number->string %texlive-revision))
(source (texlive-origin
name version
(list "doc/latex/listings/" "source/latex/listings/"
"tex/latex/listings/")
(base32
"15dnm0j86305x84ss3ymhhcczcw45b2liq01vrab6fj204wzsahk")))
(outputs '("out" "doc")) (outputs '("out" "doc"))
(build-system texlive-build-system)
(arguments (arguments
(substitute-keyword-arguments (package-arguments template) ;; Do not build intermediate "lstdrvrs.ins".
((#:tex-directory _ '()) (list #:build-targets '(list "listings.ins")))
"latex/listings") (propagated-inputs
((#:build-targets _ '()) (list texlive-fancyvrb texlive-hyperref texlive-url))
#~(list "listings.ins")))) (home-page "https://ctan.org/pkg/listings")
(home-page "https://www.ctan.org/pkg/listings")
(synopsis "Typeset source code listings using LaTeX") (synopsis "Typeset source code listings using LaTeX")
(description (description
"The package enables the user to typeset programs (programming code) "The package enables the user to typeset programs (programming code)
within LaTeX; the source code is read directly by TeX---no front-end processor within LaTeX; the source code is read directly by TeX---no front-end processor
is needed. Keywords, comments and strings can be typeset using different is needed. Keywords, comments and strings can be typeset using different
styles. Support for @code{hyperref} is provided.") styles. Support for @code{hyperref} is provided.")
(license license:lppl1.3+)))) (license license:lppl1.3+)))
(define-public texlive-listingsutf8 (define-public texlive-listingsutf8
(package (package