guix-commits
[Top][All Lists]
Advanced

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

371/418: gnu: texlive-grfext: Remove SIMPLE-TEXLIVE-PACKAGE call.


From: guix-commits
Subject: 371/418: gnu: texlive-grfext: Remove SIMPLE-TEXLIVE-PACKAGE call.
Date: Fri, 2 Jun 2023 17:25:56 -0400 (EDT)

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

commit 9da613472fce77d2f15d4d64153765fa2eba0d7e
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Thu May 18 14:01:23 2023 +0200

    gnu: texlive-grfext: Remove SIMPLE-TEXLIVE-PACKAGE call.
    
    * gnu/packages/tex.scm (texlive-grfext!): Remove SIMPLE-TEXLIVE-PACKAGE
    call.
    [propagated-inputs]: Add TEXLIVE-INFWARERR, TEXLIVE-KVDEFINEKEYS.
    [home-page]: Use CTAN URL.
    [synopsis]: Add proper Texinfo markup.
---
 gnu/packages/tex.scm | 41 ++++++++++++++++++++---------------------
 1 file changed, 20 insertions(+), 21 deletions(-)

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 6efe064bd2..78552bd389 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -12132,27 +12132,26 @@ The macros were designed for use within other 
macros.")
     (license license:lppl1.3)))
 
 (define-public texlive-grfext
-  (let ((template (simple-texlive-package
-                   "texlive-grfext"
-                   (list "doc/latex/grfext/"
-                         "source/latex/grfext/"
-                         "tex/latex/grfext/")
-                   (base32
-                    "1x35r10mkjg8dzx7aj99y4dwyf69jgs41qwapdx523lbglywmgxp"))))
-    (package
-      (inherit template)
-      (outputs '("out" "doc"))
-      (arguments
-       (substitute-keyword-arguments (package-arguments template)
-         ((#:tex-directory _ #t)
-          "latex/grfext")
-         ((#:build-targets _ #t)
-          #~(list "grfext.dtx"))))
-      (home-page "https://github.com/ho-tex/grfext";)
-      (synopsis "Manipulate the graphics package's list of extensions")
-      (description "This package provides macros for adding to, and reordering
-the list of graphics file extensions recognised by package graphics.")
-      (license license:lppl1.3c+))))
+  (package
+    (name "texlive-grfext")
+    (version (number->string %texlive-revision))
+    (source (texlive-origin
+             name version
+             (list "doc/latex/grfext/" "source/latex/grfext/"
+                   "tex/latex/grfext/")
+             (base32
+              "1x35r10mkjg8dzx7aj99y4dwyf69jgs41qwapdx523lbglywmgxp")))
+    (outputs '("out" "doc"))
+    (build-system texlive-build-system)
+    (propagated-inputs
+     (list texlive-infwarerr
+           texlive-kvdefinekeys))
+    (home-page "https://ctan.org/pkg/grfext";)
+    (synopsis "Manipulate the @code{graphics} package's list of extensions")
+    (description
+     "This package provides macros for adding to, and reordering the list of
+graphics file extensions recognised by package @code{graphics}.")
+    (license license:lppl1.3c+)))
 
 (define-public texlive-adjustbox
   (package



reply via email to

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