From 28f384e85c93e16e8edaf4d8e0d96a287ae978f0 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Thu, 18 May 2023 14:37:23 +0200 Subject: [PATCH] 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 1453a3bd07..6d7bd82e6e 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -13859,33 +13859,26 @@ (define-public texlive-totcount (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