guix-commits
[Top][All Lists]
Advanced

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

257/418: gnu: texlive-atbegshi: Refresh package definition.


From: guix-commits
Subject: 257/418: gnu: texlive-atbegshi: Refresh package definition.
Date: Fri, 2 Jun 2023 17:25:31 -0400 (EDT)

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

commit e61f0f28194382d93587f846026976c69251e313
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Mon May 15 23:42:30 2023 +0200

    gnu: texlive-atbegshi: Refresh package definition.
    
    * gnu/packages/tex.scm (texlive-atbegshi): Remove SIMPLE-TEXLIVE-PACKAGE
    call.
    [propagated-inputs]: Add TEXLIVE-IFTEX, TEXLIVE-INFWARERR, TEXLIVE-LTXCMDS.
---
 gnu/packages/tex.scm | 39 ++++++++++++++++++---------------------
 1 file changed, 18 insertions(+), 21 deletions(-)

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 4b61bb6a6e..473b0fae7e 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -9500,30 +9500,27 @@ not only with KOMA-Script classes but also with the 
standard classes.")
 (define-deprecated-package texlive-latex-koma-script texlive-koma-script)
 
 (define-public texlive-atbegshi
-  (let ((template (simple-texlive-package
-                   "texlive-atbegshi"
-                   (list "doc/latex/atbegshi/"
-                         "source/latex/atbegshi/"
-                         "tex/generic/atbegshi/")
-                   (base32
-                    "0vd90wdjwj5w4g4xka4nms3rgixjw63iwf0hj0v1akcfflwvgn69"))))
-    (package
-      (inherit template)
-      (outputs '("out" "doc"))
-      (arguments
-       (substitute-keyword-arguments (package-arguments template)
-         ((#:tex-directory _ '())
-          "generic/atbegshi")
-         ((#:build-targets _ '())
-          #~(list "atbegshi.dtx"))))
-      (home-page "https://www.ctan.org/pkg/atbegshi";)
-      (synopsis "Execute commands at @code{\\shipout} time")
-      (description
-       "This package is a modern reimplementation of package @code{everyshi},
+  (package
+    (name "texlive-atbegshi")
+    (version (number->string %texlive-revision))
+    (source (texlive-origin
+             name version
+             (list "doc/latex/atbegshi/" "source/latex/atbegshi/"
+                   "tex/generic/atbegshi/")
+             (base32
+              "0vd90wdjwj5w4g4xka4nms3rgixjw63iwf0hj0v1akcfflwvgn69")))
+    (outputs '("out" "doc"))
+    (build-system texlive-build-system)
+    (propagated-inputs
+     (list texlive-iftex texlive-infwarerr texlive-ltxcmds))
+    (home-page "https://ctan.org/pkg/atbegshi";)
+    (synopsis "Execute commands at @code{\\shipout} time")
+    (description
+     "This package is a modern reimplementation of package @code{everyshi},
 providing various commands to be executed before a @code{\\shipout} command.
 It makes use of e-TeX’s facilities if they are available.  The package may
 be used either with LaTeX or with plain TeX.")
-      (license license:lppl1.3c+))))
+    (license license:lppl1.3c+)))
 
 (define-deprecated-package texlive-generic-atbegshi texlive-atbegshi)
 



reply via email to

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