guix-commits
[Top][All Lists]
Advanced

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

236/452: gnu: texlive-firstaid: Refresh package definition.


From: guix-commits
Subject: 236/452: gnu: texlive-firstaid: Refresh package definition.
Date: Fri, 9 Jun 2023 13:43:29 -0400 (EDT)

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

commit 6d5b58eb6798a11359044d04028cd6356abae064
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Mon May 15 22:46:25 2023 +0200

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

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index c1a5b62b60..e1b653bd6b 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -5478,29 +5478,27 @@ corresponding italics: light, regular, medium, bold, 
...")
                    license:silofl1.1))))
 
 (define-public texlive-firstaid
-  (let ((template (simple-texlive-package
-                   "texlive-firstaid"
-                   (list "/doc/latex/firstaid/"
-                         "/source/latex/firstaid/"
-                         "/tex/latex/firstaid/")
-                   (base32
-                    "1ahn47kz8a2qdmzdfdgjanf6h5bn8f2rzp1zvwgjpk1plcix8k90"))))
-    (package
-      (inherit template)
-      (arguments
-       (substitute-keyword-arguments (package-arguments template)
-         ((#:tex-directory _ #t) "tex/latex/firstaid")
-         ((#:build-targets _ '()) '(list "firstaid.ins"))))
-      (home-page "https://ctan.org/macros/latex/required/firstaid";)
-      (synopsis
-       "First aid for external LaTeX files and packages that need updating")
-      (description
-       "This package contains some first aid for LaTeX packages or classes
-that require updates because of internal changes to the LaTeX kernel that are
-not yet reflected in the package's or class's code.  The file
+  (package
+    (name "texlive-firstaid")
+    (version (number->string %texlive-revision))
+    (source (texlive-origin
+             name version
+             (list "doc/latex/firstaid/" "source/latex/firstaid/"
+                   "tex/latex/firstaid/")
+             (base32
+              "1ahn47kz8a2qdmzdfdgjanf6h5bn8f2rzp1zvwgjpk1plcix8k90")))
+    (outputs '("out" "doc"))
+    (build-system texlive-build-system)
+    (home-page "https://ctan.org/pkg/firstaid";)
+    (synopsis
+     "First aid for external LaTeX files and packages that need updating")
+    (description
+     "This package contains some first aid for LaTeX packages or classes that
+require updates because of internal changes to the LaTeX kernel that are not
+yet reflected in the package's or class's code.  The file
 @file{latex2e-first-aid-for-external-files.ltx} provided by this package is
 meant to be loaded during format generation and not by the user.")
-      (license license:lppl1.3c))))
+    (license license:lppl1.3c)))
 
 (define-public texlive-ifplatform
   (package



reply via email to

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