ngz pushed a commit to branch tex-team-next in repository guix. commit f05b8d70696f850c93f1126eb5c16a55444104b9 Author: Nicolas Goaziou <m...@nicolasgoaziou.fr> AuthorDate: Thu May 18 14:37:23 2023 +0200
gnu: texlive-totpages: Remove SIMPLE-TEXLIVE-PACKAGE call. * gnu/packages/tex.scm (texlive-totpages!): Remove SIMPLE-TEXLIVE-PACKAGE call. [native-inputs]: Remove them. --- gnu/packages/tex.scm | 43 ++++++++++++++++++------------------------- 1 file changed, 18 insertions(+), 25 deletions(-) diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 1e325e4b16..9dd974bd18 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -13893,33 +13893,26 @@ changed, the recorded value will usually be the maximum value.") (define-deprecated-package texlive-latex-totcount texlive-totcount) (define-public texlive-totpages - (let ((template (simple-texlive-package - "texlive-totpages" - (list "doc/latex/totpages/" - "source/latex/totpages/" - "tex/latex/totpages/") - (base32 - "1mmya2fqdskyavw3hvdiygfyp9cll7bl4lpi7pl2jf9s7ds49j5a")))) - (package - (inherit template) - (outputs '("out" "doc")) - (build-system texlive-build-system) - (arguments - (substitute-keyword-arguments (package-arguments template) - ((#: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") - (synopsis "Count pages in a document, and report last page number") - (description - "The package counts the actual pages in the document (as opposed to + (package + (name "texlive-totpages") + (version (number->string %texlive-revision)) + (source (texlive-origin + name version + (list "doc/latex/totpages/" "source/latex/totpages/" + "tex/latex/totpages/") + (base32 + "1mmya2fqdskyavw3hvdiygfyp9cll7bl4lpi7pl2jf9s7ds49j5a"))) + (outputs '("out" "doc")) + (build-system texlive-build-system) + (arguments (list #:tex-format "latex")) + (propagated-inputs (list texlive-everyshi texlive-graphics)) + (home-page "https://ctan.org/pkg/totpages") + (synopsis "Count pages in a document, and report last page number") + (description + "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 itself may be shipped out to the DVI file.") - (license license:lppl)))) + (license license:lppl))) (define-public texlive-xetexconfig (package