guix-commits
[Top][All Lists]
Advanced

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

201/418: gnu: texlive-todonotes: Refresh package definition.


From: guix-commits
Subject: 201/418: gnu: texlive-todonotes: Refresh package definition.
Date: Fri, 2 Jun 2023 17:24:40 -0400 (EDT)

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

commit bd4214cf98b15421af7d3136b13898e2ae2f3dab
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Mon May 15 19:43:45 2023 +0200

    gnu: texlive-todonotes: Refresh package definition.
    
    * gnu/packages/tex.scm (texlive-todonotes): Remove SIMPLE-TEXLIVE-PACKAGE
    call.
    [propagated-inputs]: TEXLIVE-TOOLS, TEXLIVE-XCOLOR.
---
 gnu/packages/tex.scm | 42 ++++++++++++++++++++++++------------------
 1 file changed, 24 insertions(+), 18 deletions(-)

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 12d802d3cb..08f3bff5c3 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -10868,24 +10868,30 @@ citations and references.")
     (license license:lppl1.3c)))
 
 (define-public texlive-todonotes
-  (let ((template (simple-texlive-package
-                   "texlive-todonotes"
-                   (list "/doc/latex/todonotes/"
-                         "/tex/latex/todonotes/")
-                   (base32
-                    "1jqw8jy73488bdr971w0dnlggsvicagpnpx8ddqkma920ba8rabp")
-                   #:trivial? #t)))
-    (package
-      (inherit template)
-      (propagated-inputs
-       (list texlive-pgf texlive-xkeyval))
-      (home-page "http://www.ctan.org/pkg/todonotes";)
-      (synopsis "Marking things to do in a LaTeX document")
-      (description "The @code{todonotes} package lets the user mark
-things to do later, in a simple and visually appealing way.  The
-package takes several options to enable customization and finetuning
-of the visual appearance.")
-      (license license:lppl1.3+))))
+  (package
+    (name "texlive-todonotes")
+    (version (number->string %texlive-revision))
+    (source (texlive-origin
+             name version
+             (list "doc/latex/todonotes/"
+                   "source/latex/todonotes/"
+                   "tex/latex/todonotes/")
+             (base32
+              "0lhqzrvf216j3rzg7lmc1mvnr2mzr0a6c2kqrfwzw6qbpm9v29nk")))
+    (outputs '("out" "doc"))
+    (build-system texlive-build-system)
+    (propagated-inputs
+     (list texlive-pgf
+           texlive-tools
+           texlive-xcolor
+           texlive-xkeyval))
+    (home-page "https://ctan.org/pkg/todonotes";)
+    (synopsis "Marking things to do in a LaTeX document")
+    (description
+     "The @code{todonotes} package lets the user mark things to do later, in
+a simple and visually appealing way.  The package takes several options to
+enable customization and finetuning of the visual appearance.")
+    (license license:lppl1.3+)))
 
 (define-public texlive-units
   (package



reply via email to

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