guix-commits
[Top][All Lists]
Advanced

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

268/435: gnu: texlive-uniquecounter: Refresh package definition.


From: guix-commits
Subject: 268/435: gnu: texlive-uniquecounter: Refresh package definition.
Date: Tue, 6 Jun 2023 11:40:02 -0400 (EDT)

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

commit ee79e5204d224b2d7041a5ea32dbe159afc9022c
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Mon May 15 23:52:51 2023 +0200

    gnu: texlive-uniquecounter: Refresh package definition.
    
    * gnu/packages/tex.scm (texlive-uniquecounter): Remove 
SIMPLE-TEXLIVE-PACKAGE
    call.
---
 gnu/packages/tex.scm | 46 +++++++++++++++++++++-------------------------
 1 file changed, 21 insertions(+), 25 deletions(-)

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 6f9dcb7af6..f7e2f47292 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -9791,31 +9791,27 @@ using TeX or e-TeX.")
 (define-deprecated-package texlive-generic-pdfescape texlive-pdfescape)
 
 (define-public texlive-uniquecounter
-  (let ((template (simple-texlive-package
-                   "texlive-uniquecounter"
-                   (list "doc/latex/uniquecounter/"
-                         "source/latex/uniquecounter/"
-                         "tex/generic/uniquecounter/")
-                   (base32
-                    "1ll3iwk8x44l3qx1dhna399ngg66vbllivv8i3lwzriwkx22xbf3"))))
-    (package
-      (inherit template)
-      (outputs '("out" "doc"))
-      (arguments
-       (substitute-keyword-arguments (package-arguments template)
-         ((#:tex-directory _ '())
-          "generic/uniquecounter")
-         ((#:build-targets _ '())
-          #~(list "uniquecounter.dtx"))))
-      (propagated-inputs
-       (list texlive-bigintcalc texlive-infwarerr))
-      (home-page "https://www.ctan.org/pkg/uniquecounter";)
-      (synopsis "Unlimited unique counter")
-      (description
-       "This package provides a kind of counter that provides unique number
-values.  Several counters can be created with different names.  The numeric
-values are not limited.")
-      (license license:lppl1.3c+))))
+  (package
+    (name "texlive-uniquecounter")
+    (version (number->string %texlive-revision))
+    (source (texlive-origin
+             name version
+             (list "doc/latex/uniquecounter/"
+                   "source/latex/uniquecounter/"
+                   "tex/generic/uniquecounter/")
+             (base32
+              "1ll3iwk8x44l3qx1dhna399ngg66vbllivv8i3lwzriwkx22xbf3")))
+    (outputs '("out" "doc"))
+    (build-system texlive-build-system)
+    (propagated-inputs
+     (list texlive-bigintcalc texlive-infwarerr))
+    (home-page "https://ctan.org/pkg/uniquecounter";)
+    (synopsis "Provides unlimited unique counter")
+    (description
+     "This package provides a kind of counter that provides unique number 
values.
+Several counters can be created with different names.  The numeric values are
+not limited.")
+    (license license:lppl1.3+)))
 
 (define-deprecated-package texlive-generic-uniquecounter texlive-uniquecounter)
 



reply via email to

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