summary refs log tree commit diff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2023-05-15 23:49:09 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2023-07-18 18:11:55 +0200
commitd9d72c834e3bf89cd0304c8a8bfa2ffe826faa1c (patch)
tree06727ae4d53cf7b5bc5a58daf3ed2a22205f4e55
parentd75b23ee8abf6a0f4780fde0f0c16a54a56e5f71 (diff)
downloadguix-d9d72c834e3bf89cd0304c8a8bfa2ffe826faa1c.tar.gz
gnu: texlive-kvsetkeys: Refresh package definition.
* gnu/packages/tex.scm (texlive-kvdefinekeys): Remove SIMPLE-TEXLIVE-PACKAGE
call.
[propagated-inputs]: Add TEXLIVE-INFWARERR.
-rw-r--r--gnu/packages/tex.scm40
1 files changed, 19 insertions, 21 deletions
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index a09433288f..2ee2df0b1b 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -9687,30 +9687,28 @@ keyval’s @code{\\define@@key}, to define keys for use by @code{kvsetkeys}.")
 (define-deprecated-package texlive-generic-kvdefinekeys texlive-kvdefinekeys)
 
 (define-public texlive-kvsetkeys
-  (let ((template (simple-texlive-package
-                   "texlive-kvsetkeys"
-                   (list "doc/latex/kvsetkeys/"
-                         "source/latex/kvsetkeys/"
-                         "tex/generic/kvsetkeys/")
-                   (base32
-                    "0b2f2r49vi8x54qshm1h9sh8zhdmy0mc2y44yd05kcmmbiiq7hfz"))))
-    (package
-      (inherit template)
-      (outputs '("out" "doc"))
-      (arguments
-       (substitute-keyword-arguments (package-arguments template)
-         ((#:tex-directory _ '())
-          "generic/kvsetkeys")
-         ((#:build-targets _ '())
-          #~(list "kvsetkeys.dtx"))))
-      (home-page "https://www.ctan.org/pkg/kvsetkeys")
-      (synopsis "Key value parser with default handler support")
-      (description
-       "This package provides @code{\\kvsetkeys}, a variant of @code{\\setkeys}
+  (package
+    (name "texlive-kvsetkeys")
+    (version (number->string %texlive-revision))
+    (source (texlive-origin
+             name version
+             (list "doc/latex/kvsetkeys/"
+                   "source/latex/kvsetkeys/"
+                   "tex/generic/kvsetkeys/")
+             (base32
+              "0b2f2r49vi8x54qshm1h9sh8zhdmy0mc2y44yd05kcmmbiiq7hfz")))
+    (outputs '("out" "doc"))
+    (build-system texlive-build-system)
+    (propagated-inputs
+     (list texlive-infwarerr))
+    (home-page "https://ctan.org/pkg/kvsetkeys")
+    (synopsis "Key value parser with default handler support")
+    (description
+     "This package provides @code{\\kvsetkeys}, a variant of @code{\\setkeys}
 from the @code{keyval} package.  Users can specify a handler that deals with
 unknown options.  Active commas and equal signs may be used, and only one
 level of curly braces are removed from the values.")
-      (license license:lppl1.3c+))))
+    (license license:lppl1.3c+)))
 
 (define-deprecated-package texlive-generic-kvsetkeys texlive-kvsetkeys)