Archived
1
0
Fork 0

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

* gnu/packages/tex.scm (texlive-totpages!): Remove SIMPLE-TEXLIVE-PACKAGE
call.
[native-inputs]: Remove them.
This commit is contained in:
Nicolas Goaziou 2023-05-18 14:37:23 +02:00
parent 0110ef1c4e
commit 28f384e85c
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -13859,33 +13859,26 @@ changed, the recorded value will usually be the maximum value.")
(define-deprecated-package texlive-latex-totcount texlive-totcount) (define-deprecated-package texlive-latex-totcount texlive-totcount)
(define-public texlive-totpages (define-public texlive-totpages
(let ((template (simple-texlive-package (package
"texlive-totpages" (name "texlive-totpages")
(list "doc/latex/totpages/" (version (number->string %texlive-revision))
"source/latex/totpages/" (source (texlive-origin
name version
(list "doc/latex/totpages/" "source/latex/totpages/"
"tex/latex/totpages/") "tex/latex/totpages/")
(base32 (base32
"1mmya2fqdskyavw3hvdiygfyp9cll7bl4lpi7pl2jf9s7ds49j5a")))) "1mmya2fqdskyavw3hvdiygfyp9cll7bl4lpi7pl2jf9s7ds49j5a")))
(package
(inherit template)
(outputs '("out" "doc")) (outputs '("out" "doc"))
(build-system texlive-build-system) (build-system texlive-build-system)
(arguments (arguments (list #:tex-format "latex"))
(substitute-keyword-arguments (package-arguments template) (propagated-inputs (list texlive-everyshi texlive-graphics))
((#:tex-directory _ #t) "latex/totpages")
((#:tex-format _ #t) "latex")
((#:build-targets _ '()) '(list "totpages.ins"))))
(native-inputs
(list (texlive-updmap.cfg)))
(propagated-inputs
(list texlive-everyshi texlive-graphics))
(home-page "https://ctan.org/pkg/totpages") (home-page "https://ctan.org/pkg/totpages")
(synopsis "Count pages in a document, and report last page number") (synopsis "Count pages in a document, and report last page number")
(description (description
"The package counts the actual pages in the document (as opposed to "The package counts the actual pages in the document (as opposed to
reporting the number of the last page, as does @code{lastpage}). The counter reporting the number of the last page, as does @code{lastpage}). The counter
itself may be shipped out to the DVI file.") itself may be shipped out to the DVI file.")
(license license:lppl)))) (license license:lppl)))
(define-public texlive-xetexconfig (define-public texlive-xetexconfig
(package (package