guix-commits
[Top][All Lists]
Advanced

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

264/452: gnu: texlive-kvdefinekeys: Refresh package definition.


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

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

commit c736d6849aec7c1fd4ab1d25583c86cec2c7024d
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Mon May 15 23:47:59 2023 +0200

    gnu: texlive-kvdefinekeys: Refresh package definition.
    
    * gnu/packages/tex.scm (texlive-kvdefinekeys): Remove SIMPLE-TEXLIVE-PACKAGE
    call.
    [propagated-inputs]: Add TEXLIVE-LTXCMDS.
---
 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 819346e77b..25830d2ce0 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -9663,28 +9663,26 @@ using the e-TeX extension @code{\\numexpr} if it is 
available.")
 (define-deprecated-package texlive-generic-intcalc texlive-intcalc)
 
 (define-public texlive-kvdefinekeys
-  (let ((template (simple-texlive-package
-                   "texlive-kvdefinekeys"
-                   (list "doc/latex/kvdefinekeys/"
-                         "source/latex/kvdefinekeys/"
-                         "tex/generic/kvdefinekeys/")
-                   (base32
-                    "1026h223ph3nzhs6jqbasa0bzsrdg3zgllfcwwcavfzb5i6p9jdf"))))
-    (package
-      (inherit template)
-      (outputs '("out" "doc"))
-      (arguments
-       (substitute-keyword-arguments (package-arguments template)
-         ((#:tex-directory _ '())
-          "generic/kvdefinekeys")
-         ((#:build-targets _ '())
-          #~(list "kvdefinekeys.dtx"))))
-      (home-page "https://www.ctan.org/pkg/kvdefinekeys";)
-      (synopsis "Define keys for use in the @code{kvsetkeys} package")
-      (description
-       "This package provides the @code{\\kv@@define@@key} (analogous to
+  (package
+    (name "texlive-kvdefinekeys")
+    (version (number->string %texlive-revision))
+    (source (texlive-origin
+             name version
+             (list "doc/latex/kvdefinekeys/"
+                   "source/latex/kvdefinekeys/"
+                   "tex/generic/kvdefinekeys/")
+             (base32
+              "1026h223ph3nzhs6jqbasa0bzsrdg3zgllfcwwcavfzb5i6p9jdf")))
+    (outputs '("out" "doc"))
+    (build-system texlive-build-system)
+    (propagated-inputs
+     (list texlive-ltxcmds))
+    (home-page "https://ctan.org/pkg/kvdefinekeys";)
+    (synopsis "Define keys for use in the @code{kvsetkeys} package")
+    (description
+     "This package provides the @code{\\kv@@define@@key} (analogous to
 keyval’s @code{\\define@@key}, to define keys for use by @code{kvsetkeys}.")
-      (license license:lppl1.3c+))))
+    (license license:lppl1.3c+)))
 
 (define-deprecated-package texlive-generic-kvdefinekeys texlive-kvdefinekeys)
 



reply via email to

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