guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

386/418: gnu: texlive-totcount: Remove SIMPLE-TEXLIVE-PACKAGE call.


From: guix-commits
Subject: 386/418: gnu: texlive-totcount: Remove SIMPLE-TEXLIVE-PACKAGE call.
Date: Fri, 2 Jun 2023 17:25:59 -0400 (EDT)

ngz pushed a commit to branch tex-team-next
in repository guix.

commit 6475cdc633f80d2f5d708ac17a141943b6e4b26c
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Thu May 18 14:35:47 2023 +0200

    gnu: texlive-totcount: Remove SIMPLE-TEXLIVE-PACKAGE call.
    
    * gnu/packages/tex.scm (texlive-totcount!): Remove SIMPLE-TEXLIVE-PACKAGE
    call.
---
 gnu/packages/tex.scm | 41 ++++++++++++++++++-----------------------
 1 file changed, 18 insertions(+), 23 deletions(-)

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 34f42c90f6..97e209bb1b 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -13865,31 +13865,26 @@ of occurrences of a substring.")
     (license license:lppl1.0+)))
 
 (define-public texlive-totcount
-  (let ((template (simple-texlive-package
-                   "texlive-totcount"
-                   (list "doc/latex/totcount/"
-                         "source/latex/totcount/"
-                         "tex/latex/totcount/")
-                   (base32
-                    "1rj9ncip5h2cbdljjqwxqsg14pb4mimzhz290q872n32w7rxkp28"))))
-    (package
-      (inherit template)
-      (outputs '("out" "doc"))
-      (build-system texlive-build-system)
-      (arguments
-       (substitute-keyword-arguments (package-arguments template)
-         ((#:tex-directory _ #t) "latex/totcount")
-         ((#:tex-format _ #t) "latex")
-         ((#:build-targets _ '()) '(list "totcount.ins"))))
-      (propagated-inputs
-       (list texlive-graphics))
-      (home-page "https://ctan.org/pkg/totcount";)
-      (synopsis "Find the last value of a counter")
-      (description
-       "This package records the value that was last set, for any counter of
+  (package
+    (name "texlive-totcount")
+    (version (number->string %texlive-revision))
+    (source (texlive-origin
+             name version
+             (list "doc/latex/totcount/" "source/latex/totcount/"
+                   "tex/latex/totcount/")
+             (base32
+              "1rj9ncip5h2cbdljjqwxqsg14pb4mimzhz290q872n32w7rxkp28")))
+    (outputs '("out" "doc"))
+    (build-system texlive-build-system)
+    (arguments (list #:tex-format "latex"))
+    (propagated-inputs (list texlive-graphics))
+    (home-page "https://ctan.org/pkg/totcount";)
+    (synopsis "Find the last value of a counter")
+    (description
+     "This package records the value that was last set, for any counter of
 interest.  Since most such counters are simply incremented when they are
 changed, the recorded value will usually be the maximum value.")
-      (license license:lppl1.3c+))))
+    (license license:lppl1.3c+)))
 
 (define-deprecated-package texlive-latex-totcount texlive-totcount)
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]