gnu: texlive-xcolor: Refresh package definition.

* gnu/packages/tex.scm (texlive-xcolor): Remove SIMPLE-TEXLIVE-PACKAGE
call.
This commit is contained in:
Nicolas Goaziou 2023-05-16 00:26:27 +02:00
parent 64403b87f1
commit 6384af5f31
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -3721,37 +3721,32 @@ (define-public texlive-hycolor
(define-deprecated-package texlive-latex-hycolor texlive-hycolor) (define-deprecated-package texlive-latex-hycolor texlive-hycolor)
(define-public texlive-xcolor (define-public texlive-xcolor
(let ((template (simple-texlive-package (package
"texlive-xcolor" (name "texlive-xcolor")
(list "doc/latex/xcolor/" (version (number->string %texlive-revision))
"dvips/xcolor/" (source (texlive-origin
"source/latex/xcolor/" name version
"tex/latex/xcolor/") (list "doc/latex/xcolor/" "dvips/xcolor/"
(base32 "source/latex/xcolor/" "tex/latex/xcolor/")
"1d7108b67fcaf1sgyk43ph18l0z5m35iqg3aahqs1ymzwdfnd3f7")))) (base32
(package "1d7108b67fcaf1sgyk43ph18l0z5m35iqg3aahqs1ymzwdfnd3f7")))
(inherit template) (outputs '("out" "doc"))
(outputs '("out" "doc")) (build-system texlive-build-system)
(arguments (propagated-inputs
(substitute-keyword-arguments (package-arguments template) (list texlive-colortbl
((#:tex-directory _ '()) texlive-hyperref
"latex/xcolor") texlive-lwarp))
((#:build-targets _ '()) (home-page "https://ctan.org/pkg/xcolor")
#~(list "xcolor.ins")))) (synopsis "Driver-independent color extensions for LaTeX and pdfLaTeX")
;; TODO: Propagate texlive-hyperref and many others in the next rebuild (description
;; cycle. Grep for '\usepackage' to see what packages it requires. "The package starts from the basic facilities of the colorcolor package,
;; (propagated-inputs (list texlive-hyperref ...))
(home-page "https://www.ctan.org/pkg/xcolor")
(synopsis "Driver-independent color extensions for LaTeX and pdfLaTeX")
(description
"The package starts from the basic facilities of the colorcolor package,
and provides easy driver-independent access to several kinds of color tints, and provides easy driver-independent access to several kinds of color tints,
shades, tones, and mixes of arbitrary colors. It allows a user to select a shades, tones, and mixes of arbitrary colors. It allows a user to select
document-wide target color model and offers complete tools for conversion a document-wide target color model and offers complete tools for conversion
between eight color models. Additionally, there is a command for alternating between eight color models. Additionally, there is a command for alternating
row colors plus repeated non-aligned material (like horizontal lines) in row colors plus repeated non-aligned material (like horizontal lines) in
tables.") tables.")
(license license:lppl1.2+)))) (license license:lppl1.2+)))
(define-deprecated-package texlive-latex-xcolor texlive-xcolor) (define-deprecated-package texlive-latex-xcolor texlive-xcolor)