guix-commits
[Top][All Lists]
Advanced

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

248/452: gnu: texlive-kvoptions: Refresh package definition.


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

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

commit d9e057e7154692979291b8d8fa87b43abaeab966
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Mon May 15 23:28:54 2023 +0200

    gnu: texlive-kvoptions: Refresh package definition.
    
    * gnu/packages/tex.scm (texlive-kvoptions): Remove SIMPLE-TEXLIVE-PACKAGE
    call.
---
 gnu/packages/tex.scm | 42 +++++++++++++++++++-----------------------
 1 file changed, 19 insertions(+), 23 deletions(-)

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 9eb2ddad80..6a26537290 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -7058,30 +7058,26 @@ in SGML; use maths minus in text as appropriate; simple 
Young tableaux.")
 (define-deprecated-package texlive-jknappen texlive-jknapltx)
 
 (define-public texlive-kvoptions
-  (let ((template (simple-texlive-package
-                   "texlive-kvoptions"
-                   (list "doc/latex/kvoptions/"
-                         "source/latex/kvoptions/"
-                         "tex/latex/kvoptions/")
-                   (base32
-                    "1b8q93l54160b8gn3fq484n15n6cylrhmf2xk7p42czg2rqw7w3l"))))
-    (package
-      (inherit template)
-      (outputs '("out" "doc"))
-      (arguments
-       (substitute-keyword-arguments (package-arguments template)
-         ((#:tex-directory _ '())
-          "latex/kvoptions")
-         ((#:build-targets _ '())
-          #~(list "kvoptions.dtx"))))
-      (propagated-inputs
-       (list texlive-kvsetkeys texlive-ltxcmds))
-      (home-page "https://www.ctan.org/pkg/kvoptions";)
-      (synopsis "Key/value format for package options")
-      (description
-       "This package provides facilities for using key-value format in
+  (package
+    (name "texlive-kvoptions")
+    (version (number->string %texlive-revision))
+    (source (texlive-origin
+             name version
+             (list "doc/latex/kvoptions/"
+                   "source/latex/kvoptions/"
+                   "tex/latex/kvoptions/")
+             (base32
+              "1b8q93l54160b8gn3fq484n15n6cylrhmf2xk7p42czg2rqw7w3l")))
+    (outputs '("out" "doc"))
+    (build-system texlive-build-system)
+    (propagated-inputs
+     (list texlive-kvsetkeys texlive-ltxcmds))
+    (home-page "https://www.ctan.org/pkg/kvoptions";)
+    (synopsis "Key/value format for package options")
+    (description
+     "This package provides facilities for using key-value format in
 package options.")
-      (license license:lppl1.3c+))))
+    (license license:lppl1.3c+)))
 
 (define-deprecated-package texlive-latex-kvoptions texlive-kvoptions)
 



reply via email to

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