guix-commits
[Top][All Lists]
Advanced

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

198/452: gnu: texlive-minted: Refresh package definition.


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

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

commit b9489492b23ce0fb516939bbcf11dee1cbc82b73
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Mon May 15 19:33:32 2023 +0200

    gnu: texlive-minted: Refresh package definition.
    
    * gnu/packages/tex.scm (texlive-minted): Remove SIMPLE-TEXLIVE-PACKAGE
    call.
    [propagated-inputs]: Add TEXLIVE-GRAPHICS, TEXLIVE-KVOPTIONS,
    TEXLIVE-PDFTEXCMDS, TEXLIVE-TOOLS.
---
 gnu/packages/tex.scm | 62 ++++++++++++++++++++++++++++------------------------
 1 file changed, 33 insertions(+), 29 deletions(-)

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 9e4693e0b3..0f5cb907da 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -10947,35 +10947,39 @@ configuration of its own fixed names, using 
@file{.mld} files.")
     (license license:lppl1.3+)))
 
 (define-public texlive-minted
-  (let ((template (simple-texlive-package
-                   "texlive-minted"
-                   (list "/doc/latex/minted/"
-                         "/source/latex/minted/"
-                         "/tex/latex/minted/")
-                   (base32
-                    "13cjsjb3b04n9arwp46ayk8fcicylxq5g1864cpxl1lxjxh1yi0l"))))
-    (package
-      (inherit template)
-      (arguments
-       (substitute-keyword-arguments (package-arguments template)
-         ((#:tex-directory _ #t)
-          "latex/minted")))
-      (propagated-inputs (list python-pygments
-                               texlive-etoolbox
-                               texlive-fancyvrb
-                               texlive-float
-                               texlive-framed
-                               texlive-fvextra
-                               texlive-ifplatform
-                               texlive-lineno
-                               texlive-newfloat
-                               texlive-xstring))
-      (home-page "https://ctan.org/pkg/minted";)
-      (synopsis "Highlight source code in LaTeX documents")
-      (description "This package facilitates expressive syntax highlighting in
-LaTeX using the Pygments library.  This package also provides options to
-customize the highlighted source code output using fancyvrb and fvextra.")
-      (license license:lppl1.3+))))
+  (package
+    (name "texlive-minted")
+    (version (number->string %texlive-revision))
+    (source (texlive-origin
+             name version
+             (list "doc/latex/minted/" "source/latex/minted/"
+                   "tex/latex/minted/")
+             (base32
+              "13cjsjb3b04n9arwp46ayk8fcicylxq5g1864cpxl1lxjxh1yi0l")))
+    (outputs '("out" "doc"))
+    (build-system texlive-build-system)
+    (propagated-inputs
+     (list python-pygments
+           texlive-etoolbox
+           texlive-fancyvrb
+           texlive-float
+           texlive-framed
+           texlive-fvextra
+           texlive-graphics
+           texlive-ifplatform
+           texlive-kvoptions
+           texlive-lineno
+           texlive-newfloat
+           texlive-pdftexcmds
+           texlive-tools
+           texlive-xstring))
+    (home-page "https://ctan.org/pkg/minted";)
+    (synopsis "Highlighted source code for LaTeX")
+    (description
+     "The package that facilitates expressive syntax highlighting in LaTeX
+using the powerful Pygments library.  The package also provides options to
+customize the highlighted source code output using @code{fancyvrb}.")
+    (license license:lppl1.3+)))
 
 (define-public texlive-caption
   (package



reply via email to

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