guix-commits
[Top][All Lists]
Advanced

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

271/418: gnu: texlive-marginnote: Refresh package definition.


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

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

commit de7c9a1dc7edfeb7b9859c859ea6b6c3756c7025
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Tue May 16 00:03:10 2023 +0200

    gnu: texlive-marginnote: Refresh package definition.
    
    * gnu/packages/tex.scm (texlive-marginnote): Remove SIMPLE-TEXLIVE-PACKAGE
    call.
---
 gnu/packages/tex.scm | 33 ++++++++++++++++-----------------
 1 file changed, 16 insertions(+), 17 deletions(-)

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 48d2078878..75731b9181 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -10391,26 +10391,25 @@ of the old package @code{pst-char}.")
     (license license:lppl)))
 
 (define-public texlive-marginnote
-  (let ((template (simple-texlive-package
-                   "texlive-marginnote"
-                   (list "/source/latex/marginnote/marginnote.dtx")
-                   (base32
-                    "152bwxhnssj40rr72r6cfirvqbnc0h7xnagfrbz58v2xck53qhg1"))))
-    (package
-      (inherit template)
-      (home-page "http://www.ctan.org/pkg/marginnote";)
-      (arguments
-       (substitute-keyword-arguments (package-arguments template)
-         ((#:tex-directory _ '())
-          "latex/marginnote")
-         ((#:build-targets _ '())
-          ''("marginnote.dtx"))))
-      (synopsis "Notes in the margin")
-      (description "This package provides the command @code{\\marginnote} that
+  (package
+    (name "texlive-marginnote")
+    (version (number->string %texlive-revision))
+    (source (texlive-origin
+             name version
+             (list "doc/latex/marginnote/"
+                   "source/latex/marginnote/"
+                   "tex/latex/marginnote/")
+             (base32
+              "1drmscvd14akcv7n6wl3d3cnj18cwkd7z7rm2gg7z43b89s7kdqr")))
+    (outputs '("out" "doc"))
+    (build-system texlive-build-system)
+    (home-page "https://ctan.org/pkg/marginnote";)
+    (synopsis "Notes in the margin")
+    (description "This package provides the command @code{\\marginnote} that
 may be used instead of @code{\\marginpar} at almost every place where
 @code{\\marginpar} cannot be used, e.g., inside floats, footnotes, or in
 frames made with the @code{framed} package.")
-      (license license:lppl1.3c+))))
+    (license license:lppl1.3c+)))
 
 (define-public texlive-iftex
   (package



reply via email to

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