summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2023-02-24 12:09:54 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2023-02-24 12:09:54 +0100
commite36ac715518387686bd8165e1724ce54984ee0ee (patch)
tree999c8e95875db597c25a6c5d83942a85763fbd52 /gnu
parent1f221c9fc5e270e06611fb62af5efe5cee3afdc3 (diff)
downloadguix-e36ac715518387686bd8165e1724ce54984ee0ee.tar.gz
gnu: Fix texlive-minted build.
* gnu/packages/tex.scm (texlive-fancyvrb): New variable.
(texlive-minted): Fix hash.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/tex.scm28
1 files changed, 26 insertions, 2 deletions
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index d0ee03c16f..bea4b4b307 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -3165,6 +3165,30 @@ users, via its Plain TeX version.)")
 
 (define-deprecated-package texlive-generic-epsf texlive-epsf)
 
+(define-public texlive-fancyvrb
+  (package
+    (inherit (simple-texlive-package
+              "texlive-fancyvrb"
+              (list "/doc/latex/fancyvrb"
+                    "/tex/latex/fancyvrb/")
+              (base32
+               "1qlrmc70ck2v3wqh8gjd5jl0f6011zzcsg9a93qf1z9b9virvjy2")
+              #:trivial? #t))
+    (propagated-inputs (list texlive-latex-upquote))
+    (home-page "https://ctan.org/macros/latex/contrib/fancyvrb")
+    (synopsis "Sophisticated verbatim text")
+    (description
+     "This package provides tools for the flexible handling of verbatim text
+including: verbatim commands in footnotes; a variety of verbatim environments
+with many parameters; ability to define new customized verbatim environments;
+save and restore verbatim text and environments; write and read files in
+verbatim mode; build @code{example} environments (showing both result and
+verbatim source).")
+    (license license:lppl1.3+)))
+
+;; FIXME: This package needs to be deprecated in favour of `texlive-fancyvrb',
+;; but this triggers 17k rebuilds.  So leave it there and wait for
+;; core-updates or a topic branch to catch-up.
 (define-public texlive-latex-fancyvrb
   (package
     (inherit (simple-texlive-package
@@ -10041,7 +10065,7 @@ the bundle.")
                          "/source/latex/minted/"
                          "/tex/latex/minted/")
                    (base32
-                    "08pbhp4a9k8v49kji26206zzabp0nn0fz403l4w7gxajw9rj8icr"))))
+                    "13cjsjb3b04n9arwp46ayk8fcicylxq5g1864cpxl1lxjxh1yi0l"))))
     (package
       (inherit template)
       (arguments
@@ -10050,9 +10074,9 @@ the bundle.")
           "latex/minted")))
       (propagated-inputs (list python-pygments
                                texlive-etoolbox
+                               texlive-fancyvrb
                                texlive-fvextra
                                texlive-generic-xstring
-                               texlive-latex-fancyvrb
                                texlive-latex-float
                                texlive-latex-framed
                                texlive-latex-ifplatform