guix-commits
[Top][All Lists]
Advanced

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

266/416: gnu: texlive-ltxcmds: Refresh package definition.


From: guix-commits
Subject: 266/416: gnu: texlive-ltxcmds: Refresh package definition.
Date: Sun, 28 May 2023 02:33:00 -0400 (EDT)

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

commit bbecf25c503e682388f5012c58a5a76710df0c05
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Mon May 15 23:50:28 2023 +0200

    gnu: texlive-ltxcmds: Refresh package definition.
    
    * gnu/packages/tex.scm (texlive-ltxcmds): Remove SIMPLE-TEXLIVE-PACKAGE
    call.
---
 gnu/packages/tex.scm | 42 +++++++++++++++++++-----------------------
 1 file changed, 19 insertions(+), 23 deletions(-)

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 49b46413cc..cf3ed357fa 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -9765,29 +9765,25 @@ interface.")
 (define-deprecated-package texlive-generic-listofitems texlive-listofitems)
 
 (define-public texlive-ltxcmds
-  (let ((template (simple-texlive-package
-                   "texlive-ltxcmds"
-                   (list "doc/generic/ltxcmds/"
-                         "source/generic/ltxcmds/"
-                         "tex/generic/ltxcmds/")
-                   (base32
-                    "1izcw9jl64iij541183hc156sjwamvxm7q9fkpfnz8sppyg31fkb"))))
-    (package
-      (inherit template)
-      (outputs '("out" "doc"))
-      (arguments
-       (substitute-keyword-arguments (package-arguments template)
-         ((#:tex-directory _ '())
-          "generic/ltxcmds")
-         ((#:build-targets _ '())
-          #~(list "ltxcmds.dtx"))))
-      (home-page "https://www.ctan.org/pkg/ltxcmds";)
-      (synopsis "LaTeX kernel commands extracted for general use")
-      (description
-       "This package exports some utility macros from the LaTeX kernel into
-a separate namespace and also makes them available for other formats such
-as plain TeX.")
-      (license license:lppl1.3c+))))
+  (package
+    (name "texlive-ltxcmds")
+    (version (number->string %texlive-revision))
+    (source (texlive-origin
+             name version
+             (list "doc/generic/ltxcmds/"
+                   "source/generic/ltxcmds/"
+                   "tex/generic/ltxcmds/")
+             (base32
+              "1izcw9jl64iij541183hc156sjwamvxm7q9fkpfnz8sppyg31fkb")))
+    (outputs '("out" "doc"))
+    (build-system texlive-build-system)
+    (home-page "https://ctan.org/pkg/ltxcmds";)
+    (synopsis "Some LaTeX kernel commands for general use")
+    (description
+     "This package exports some utility macros from the LaTeX kernel into
+a separate namespace and also makes them available for other formats such as
+plain TeX.")
+    (license license:lppl1.3+)))
 
 (define-deprecated-package texlive-generic-ltxcmds texlive-ltxcmds)
 



reply via email to

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