gnu: texlive-hycolor: Refresh package definition.

* gnu/packages/tex.scm (texlive-hycolor): Remove SIMPLE-TEXLIVE-PACKAGE
call.
[propagated-inputs]: Add TEXLIVE-HOPATCH.
This commit is contained in:
Nicolas Goaziou 2023-05-16 00:21:46 +02:00
parent fdff8fcc0f
commit 64403b87f1
No known key found for this signature in database
GPG Key ID: DA00B4F048E92F2D

View File

@ -3697,28 +3697,26 @@ for Greek text font encodings for use with fontenc.")
(license license:lppl1.3+))) (license license:lppl1.3+)))
(define-public texlive-hycolor (define-public texlive-hycolor
(let ((template (simple-texlive-package (package
"texlive-hycolor" (name "texlive-hycolor")
(list "doc/latex/hycolor/" (version (number->string %texlive-revision))
"source/latex/hycolor/" (source (texlive-origin
name version
(list "doc/latex/hycolor/" "source/latex/hycolor/"
"tex/latex/hycolor/") "tex/latex/hycolor/")
(base32 (base32
"0hmkx37wwmznxjqqnca87shy7qrgqrh2cn5r941ddgivnym31xbh")))) "0hmkx37wwmznxjqqnca87shy7qrgqrh2cn5r941ddgivnym31xbh")))
(package
(inherit template)
(outputs '("out" "doc")) (outputs '("out" "doc"))
(arguments (build-system texlive-build-system)
(substitute-keyword-arguments (package-arguments template) (propagated-inputs
((#:tex-directory _ '()) (list texlive-hopatch))
"latex/hycolor") (home-page "https://ctan.org/pkg/hycolor")
((#:build-targets _ '()) (synopsis "Colour for packages @code{hyperref} and @code{bookmark}")
#~(list "hycolor.dtx"))))
(home-page "https://www.ctan.org/pkg/latex-graphics")
(synopsis "Color for hyperref and bookmark")
(description (description
"This package provides the code for the @code{color} option that is "This package provides the code for the color option that is used by
used by @code{hyperref} and @code{bookmark}.") packages @code{hyperref} and @code{bookmark}. It is not intended as a package
(license license:lppl1.3c+)))) for the user.")
(license license:lppl1.3+)))
(define-deprecated-package texlive-latex-hycolor texlive-hycolor) (define-deprecated-package texlive-latex-hycolor texlive-hycolor)