guix-commits
[Top][All Lists]
Advanced

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

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


From: guix-commits
Subject: 264/416: gnu: texlive-kvdefinekeys: Refresh package definition.
Date: Sun, 28 May 2023 02:33:00 -0400 (EDT)

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

commit fa05d297d3cce3fb8c3c97fbbc8f534601b83901
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 7dd056d0e6..24cc656305 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -9693,28 +9693,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]