guix-commits
[Top][All Lists]
Advanced

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

282/418: gnu: texlive-hycolor: Refresh package definition.


From: guix-commits
Subject: 282/418: gnu: texlive-hycolor: Refresh package definition.
Date: Fri, 2 Jun 2023 17:25:36 -0400 (EDT)

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

commit 4a59c813090f8639f52c9bd14413f9cfb2f492d3
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Tue May 16 00:21:46 2023 +0200

    gnu: texlive-hycolor: Refresh package definition.
    
    * gnu/packages/tex.scm (texlive-hycolor): Remove SIMPLE-TEXLIVE-PACKAGE
    call.
    [propagated-inputs]: Add TEXLIVE-HOPATCH.
---
 gnu/packages/tex.scm | 42 ++++++++++++++++++++----------------------
 1 file changed, 20 insertions(+), 22 deletions(-)

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index e3133d74de..9c9fd2ae50 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -3697,28 +3697,26 @@ for Greek text font encodings for use with fontenc.")
     (license license:lppl1.3+)))
 
 (define-public texlive-hycolor
-  (let ((template  (simple-texlive-package
-                    "texlive-hycolor"
-                    (list "doc/latex/hycolor/"
-                          "source/latex/hycolor/"
-                          "tex/latex/hycolor/")
-                    (base32
-                     "0hmkx37wwmznxjqqnca87shy7qrgqrh2cn5r941ddgivnym31xbh"))))
-    (package
-      (inherit template)
-      (outputs '("out" "doc"))
-      (arguments
-       (substitute-keyword-arguments (package-arguments template)
-         ((#:tex-directory _ '())
-          "latex/hycolor")
-         ((#:build-targets _ '())
-          #~(list "hycolor.dtx"))))
-      (home-page "https://www.ctan.org/pkg/latex-graphics";)
-      (synopsis "Color for hyperref and bookmark")
-      (description
-       "This package provides the code for the @code{color} option that is
-used by @code{hyperref} and @code{bookmark}.")
-      (license license:lppl1.3c+))))
+  (package
+    (name "texlive-hycolor")
+    (version (number->string %texlive-revision))
+    (source (texlive-origin
+             name version
+             (list "doc/latex/hycolor/" "source/latex/hycolor/"
+                   "tex/latex/hycolor/")
+             (base32
+              "0hmkx37wwmznxjqqnca87shy7qrgqrh2cn5r941ddgivnym31xbh")))
+    (outputs '("out" "doc"))
+    (build-system texlive-build-system)
+    (propagated-inputs
+     (list texlive-hopatch))
+    (home-page "https://ctan.org/pkg/hycolor";)
+    (synopsis "Colour for packages @code{hyperref} and @code{bookmark}")
+    (description
+     "This package provides the code for the color option that is used by
+packages @code{hyperref} and @code{bookmark}.  It is not intended as a package
+for the user.")
+    (license license:lppl1.3+)))
 
 (define-deprecated-package texlive-latex-hycolor texlive-hycolor)
 



reply via email to

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