guix-commits
[Top][All Lists]
Advanced

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

246/458: gnu: texlive-letltxmacro: Refresh package definition.


From: guix-commits
Subject: 246/458: gnu: texlive-letltxmacro: Refresh package definition.
Date: Wed, 14 Jun 2023 05:22:42 -0400 (EDT)

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

commit 2324e5633d52b1fde5fde9d8c1c721f2b14eaf94
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Mon May 15 23:24:22 2023 +0200

    gnu: texlive-letltxmacro: Refresh package definition.
    
    * gnu/packages/tex.scm (texlive-letltxmacro): Remove SIMPLE-TEXLIVE-PACKAGE
    call.
    [propagated-inputs]: Add TEXLIVE-ETOOLBOX.
---
 gnu/packages/tex.scm | 46 ++++++++++++++++++++++------------------------
 1 file changed, 22 insertions(+), 24 deletions(-)

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 122ae992b9..8a15f9f544 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -6831,30 +6831,28 @@ footnotes with symbols rather than numbers.")
 (define-deprecated-package texlive-latex-footmisc texlive-footmisc)
 
 (define-public texlive-letltxmacro
-  (let ((template (simple-texlive-package
-                   "texlive-letltxmacro"
-                   (list "doc/latex/letltxmacro/"
-                         "source/latex/letltxmacro/"
-                         "tex/latex/letltxmacro/")
-                   (base32
-                    "16bmwsng9p80jf78sdmib24apwnw3raw306cs1ms50z5s9dsfdby"))))
-    (package
-      (inherit template)
-      (outputs '("out" "doc"))
-      (arguments
-       (substitute-keyword-arguments (package-arguments template)
-         ((#:tex-directory _ '())
-          "latex/letltxmacro")
-         ((#:build-targets _ '())
-          #~(list "letltxmacro.dtx"))))
-      (home-page "https://www.ctan.org/pkg/letltxmacro";)
-      (synopsis "Let assignment for macros")
-      (description
-       "TeX’s @code{\\let} assignment does not work for LaTeX macros with
-optional arguments, or for macros that are defined as robust macros by
-@code{\\DeclareRobustCommand}.  This package defines @code{\\LetLtxMacro}
-that also takes care of the involved internal macros.")
-      (license license:lppl1.3c+))))
+  (package
+    (name "texlive-letltxmacro")
+    (version (number->string %texlive-revision))
+    (source (texlive-origin
+             name version
+             (list "doc/latex/letltxmacro/"
+                   "source/latex/letltxmacro/"
+                   "tex/latex/letltxmacro/")
+             (base32
+              "16bmwsng9p80jf78sdmib24apwnw3raw306cs1ms50z5s9dsfdby")))
+    (outputs '("out" "doc"))
+    (build-system texlive-build-system)
+    (propagated-inputs
+     (list texlive-etoolbox))
+    (home-page "https://ctan.org/pkg/letltxmacro";)
+    (synopsis "Let assignment for LaTeX macros")
+    (description
+     "TeX's @code{\\let} assignment does not work for LaTeX macros with
+optional arguments or for macros that are defined as robust macros by
+@code{\\DeclareRobustCommand}.  This package defines @code{\\LetLtxMacro} that
+also takes care of the involved internal macros.")
+    (license license:lppl1.3+)))
 
 (define-deprecated-package texlive-latex-letltxmacro texlive-letltxmacro)
 



reply via email to

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