guix-commits
[Top][All Lists]
Advanced

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

92/416: gnu: texlive-ifmtarg: Fix build.


From: guix-commits
Subject: 92/416: gnu: texlive-ifmtarg: Fix build.
Date: Sun, 28 May 2023 02:32:19 -0400 (EDT)

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

commit 576401c0703ce587fd3f6dad52aa40fb690aacd2
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Sun May 14 11:20:42 2023 +0200

    gnu: texlive-ifmtarg: Fix build.
    
    * gnu/packages/tex.scm (texlive-ifmtarg): Remove `simple-texlive-package'
    call. Add missing location.
---
 gnu/packages/tex.scm | 43 +++++++++++++++++++++----------------------
 1 file changed, 21 insertions(+), 22 deletions(-)

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 6068b100f3..32beb46c86 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -11142,28 +11142,27 @@ floats merely delays the arrival of the inevitable 
error message.")
       (license license:lppl1.3c+))))
 
 (define-public texlive-ifmtarg
-  (let ((template (simple-texlive-package
-                   "texlive-ifmtarg"
-                   (list "/doc/latex/ifmtarg/"
-                         "/source/latex/ifmtarg/")
-                   (base32
-                    "0cwjn4bhq9zyfxr1595hgyc1d7rcsf9lva55x98q81xy5xrrmrb2"))))
-    (package
-      (inherit template)
-      (arguments
-       (substitute-keyword-arguments (package-arguments template)
-         ((#:tex-directory _ '())
-          "latex/ifmtarg")
-         ((#:build-targets _ '())
-          ''("ifmtarg.ins"))
-         ((#:tex-format _ "latex") "latex")))
-      (inputs
-       (list texlive-filecontents))
-      (home-page "https://www.ctan.org/pkg/ifmtarg";)
-      (synopsis "If-then-else command for processing potentially empty 
arguments")
-      (description "This package provides a command for the LaTeX programmer 
for
-testing whether an argument is empty.")
-      (license license:lppl1.3c+))))
+  (package
+    (name "texlive-ifmtarg")
+    (version (number->string %texlive-revision))
+    (source (texlive-origin
+             name version
+             (list "doc/latex/ifmtarg/" "source/latex/ifmtarg/"
+                   "tex/latex/ifmtarg/")
+             (base32
+              "19bfi12j5ra19k6vjd1q5fjsm68vipa7ida7pg9pf15l5pxwbgqz")))
+    (outputs '("out" "doc"))
+    (build-system texlive-build-system)
+    (arguments
+     (list #:tex-format "latex"))
+    (native-inputs
+     (list texlive-filecontents))
+    (home-page "https://ctan.org/pkg/ifmtarg";)
+    (synopsis "If-then-else command for processing potentially empty 
arguments")
+    (description
+     "This package provides a command for the LaTeX programmer for testing
+whether an argument is empty.")
+    (license license:lppl1.3c+)))
 
 (define-public texlive-pagenote
   (let ((template (simple-texlive-package



reply via email to

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