gnu: texlive-tabu: Remove SIMPLE-TEXLIVE-PACKAGE call.

* gnu/packages/tex.scm (texlive-tabu!): Remove SIMPLE-TEXLIVE-PACKAGE
call.
[propagated-inputs]: Add TEXLIVE-TOOLS.
[description]: Shorten it and use proper Texinfo syntax.
This commit is contained in:
Nicolas Goaziou 2023-05-18 13:49:23 +02:00
parent 936693c1ff
commit c448952f0a
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -10974,35 +10974,27 @@ (define-deprecated-package texlive-generic-iftex texlive-iftex)
(define-deprecated-package texlive-generic-ifxetex texlive-iftex) (define-deprecated-package texlive-generic-ifxetex texlive-iftex)
(define-public texlive-tabu (define-public texlive-tabu
(let ((template (package
(simple-texlive-package (name "texlive-tabu")
"texlive-tabu" (version (number->string %texlive-revision))
(source (texlive-origin
name version
(list "doc/latex/tabu/" (list "doc/latex/tabu/"
"source/latex/tabu/" "source/latex/tabu/"
"tex/latex/tabu/") "tex/latex/tabu/")
(base32 "0mixyrqavipq4ni38z42x3579cdjbz54cp2qqb4q4yhfbl0a4pka")))) (base32 "0mixyrqavipq4ni38z42x3579cdjbz54cp2qqb4q4yhfbl0a4pka")))
(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-tools
"latex/tabu") texlive-varwidth))
((#:build-targets _ '())
'(list "tabu.dtx"))))
(propagated-inputs (list texlive-varwidth))
(home-page "https://ctan.org/macros/latex/contrib/tabu") (home-page "https://ctan.org/macros/latex/contrib/tabu")
(synopsis "Flexible LaTeX tabulars") (synopsis "Flexible LaTeX tabulars")
(description (description
"The package provides an environment, tabu, which will make any sort of "The package provides an environment, @code{tabu}, which will make any
tabular, and an environment longtabu which provides the facilities of tabu in sort of tabular, and an environment @code{longtabu} which provides the
a modified longtable environment. The package requires array, xcolor for facilities of @code{tabu} in a modified @code{longtable} environment.")
coloured rules in tables, and colortbl for coloured cells. The longtabu (license license:lppl1.3+)))
environment further requires that longtable be loaded. The package itself
does not load any of these packages for the user. The tabu environment may be
used in place of @code{tabular}, @code{tabular*} and @code{tabularx}
environments, as well as the @code{array} environment in maths mode.")
(license license:lppl1.3+))))
(define-public texlive-xkeyval (define-public texlive-xkeyval
(package (package