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 @@ (define-public texlive-lipsum
(license license:lppl1.3+)))
(define-public texlive-listings
(let ((template
(simple-texlive-package
"texlive-listings"
(list "doc/latex/listings/"
"source/latex/listings/"
"tex/latex/listings/")
(base32 "15dnm0j86305x84ss3ymhhcczcw45b2liq01vrab6fj204wzsahk"))))
(package
(inherit template)
(outputs '("out" "doc"))
(arguments
(substitute-keyword-arguments (package-arguments template)
((#:tex-directory _ '())
"latex/listings")
((#:build-targets _ '())
#~(list "listings.ins"))))
(home-page "https://www.ctan.org/pkg/listings")
(synopsis "Typeset source code listings using LaTeX")
(description
"The package enables the user to typeset programs (programming code)
(package
(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"))
(build-system texlive-build-system)
(arguments
;; Do not build intermediate "lstdrvrs.ins".
(list #:build-targets '(list "listings.ins")))
(propagated-inputs
(list texlive-fancyvrb texlive-hyperref texlive-url))
(home-page "https://ctan.org/pkg/listings")
(synopsis "Typeset source code listings using LaTeX")
(description
"The package enables the user to typeset programs (programming code)
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
styles. Support for @code{hyperref} is provided.")
(license license:lppl1.3+))))
(license license:lppl1.3+)))
(define-public texlive-listingsutf8
(package