guix-commits
[Top][All Lists]
Advanced

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

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


From: guix-commits
Subject: 198/416: gnu: texlive-minted: Refresh package definition.
Date: Sun, 28 May 2023 02:32:46 -0400 (EDT)

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

commit e9caf6189ded1c82e95a266d2e1ae6d9a5a26015
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 e5802e8528..a8001fc5b3 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -10955,35 +10955,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]