summary refs log tree commit diff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2023-05-15 23:52:51 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2023-07-18 18:11:56 +0200
commit5adb6cded6ac16519e3377952af3ab0ff59b9013 (patch)
tree023b0d764e7b13bea6bc05255602bbe0f17913b4
parentf2384113b76adb0b32ea88b0b6e16613b9970a6a (diff)
downloadguix-5adb6cded6ac16519e3377952af3ab0ff59b9013.tar.gz
gnu: texlive-uniquecounter: Refresh package definition.
* gnu/packages/tex.scm (texlive-uniquecounter): Remove SIMPLE-TEXLIVE-PACKAGE
call.
-rw-r--r--gnu/packages/tex.scm46
1 files changed, 21 insertions, 25 deletions
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index f7b18887e5..b795573b03 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -9783,31 +9783,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)