summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2023-05-15 23:45:37 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2023-07-18 18:11:54 +0200
commit29b903133e7709230010ef65e2b98a1154baa8a1 (patch)
tree1ddf36cb19101d918add00a0488b4c867dc89409 /gnu/packages
parent5e346d44b3ef9e280b915146d60dc5a4c1e6c8d9 (diff)
downloadguix-29b903133e7709230010ef65e2b98a1154baa8a1.tar.gz
gnu: texlive-etexcmds: Refresh package definition.
* gnu/packages/tex.scm (texlive-etexcmds): Remove SIMPLE-TEXLIVE-PACKAGE
call.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/tex.scm47
1 files changed, 21 insertions, 26 deletions
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 8dcdfd40ce..7d0ea3291c 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -9543,32 +9543,27 @@ manipulated.")
 (define-deprecated-package texlive-generic-bitset texlive-bitset)
 
 (define-public texlive-etexcmds
-  (let ((template (simple-texlive-package
-                   "texlive-etexcmds"
-                   (list "doc/latex/etexcmds/"
-                         "source/latex/etexcmds/"
-                         "tex/generic/etexcmds/")
-                   (base32
-                    "13cf1fs5x9d8749b2jgxmgnkrx0r4hwpl389r15kq3ldz9jfl627"))))
-    (package
-      (inherit template)
-      (outputs '("out" "doc"))
-      (arguments
-       (substitute-keyword-arguments (package-arguments template)
-         ((#:tex-directory _ '())
-          "generic/etexcmds")
-         ((#:build-targets _ '())
-          #~(list "etexcmds.dtx"))))
-      (propagated-inputs
-       (list texlive-iftex texlive-infwarerr))
-      (home-page "https://www.ctan.org/pkg/etexcmds")
-      (synopsis "Avoid name clashes with e-TeX commands")
-      (description
-       "New primitive commands are introduced in e-TeX; sometimes the names
-collide with existing macros.  This package solves the name clashes by
-adding a prefix to e-TeX’s commands.  For example, ε-TeX’s
-@code{\\unexpanded} is provided as @code{\\etex@@unexpanded}.")
-      (license license:lppl1.3c+))))
+  (package
+    (name "texlive-etexcmds")
+    (version (number->string %texlive-revision))
+    (source (texlive-origin
+             name version
+             (list "doc/latex/etexcmds/" "source/latex/etexcmds/"
+                   "tex/generic/etexcmds/")
+             (base32
+              "13cf1fs5x9d8749b2jgxmgnkrx0r4hwpl389r15kq3ldz9jfl627")))
+    (outputs '("out" "doc"))
+    (build-system texlive-build-system)
+    (propagated-inputs
+     (list texlive-iftex texlive-infwarerr))
+    (home-page "https://ctan.org/pkg/etexcmds")
+    (synopsis "Avoid name clashes with e-TeX commands")
+    (description
+     "New primitive commands are introduced in e-TeX; sometimes the names
+collide with existing macros.  This package solves the name clashes by adding
+a prefix to e-TeX’s commands.  For example, ε-TeX’s @code{\\unexpanded} is
+provided as @code{\\etex@@unexpanded}.")
+    (license license:lppl1.3c+)))
 
 (define-deprecated-package texlive-generic-etexcmds texlive-etexcmds)