guix-commits
[Top][All Lists]
Advanced

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

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


From: guix-commits
Subject: 92/458: gnu: texlive-ifmtarg: Fix build.
Date: Wed, 14 Jun 2023 05:22:13 -0400 (EDT)

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

commit b3c9d511142817e59498c6b3c57c3770edf4b92e
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 09abc36469..ac5452e9ef 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -11134,28 +11134,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]