ngz pushed a commit to branch tex-team-next
in repository guix.
commit ecc10f6c3665ff4051e320c7321bc959c57df9d6
Author: Nicolas Goaziou <[email protected]>
AuthorDate: Thu May 18 14:15:11 2023 +0200
gnu: texlive-fvextra: Remove SIMPLE-TEXLIVE-PACKAGE call.
* gnu/packages/tex.scm (texlive-fvextra!): Remove SIMPLE-TEXLIVE-PACKAGE
call.
[propagated-inputs]: Add TEXLIVE-ETOOLBOX, TEXLIVE-FANCYVRB, TEXLIVE-LINENO,
TEXLIVE-UPQUOTE.
[description]: Shorten it.
---
gnu/packages/tex.scm | 39 +++++++++++++++++++--------------------
1 file changed, 19 insertions(+), 20 deletions(-)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index d68e22855f..c0e60b7c2a 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -12753,26 +12753,25 @@ to be set left/right or alternating on even/odd
pages.")
(license license:lppl1.3+)))
(define-public texlive-fvextra
- (let ((template (simple-texlive-package
- "texlive-fvextra"
- (list "/doc/latex/fvextra/"
- "/source/latex/fvextra/"
- "/tex/latex/fvextra/")
- (base32
- "0nawx1fh55yhqspy5jgss2qmwpqmikfrg7628smk931rph9nq0aa"))))
- (package
- (inherit template)
- (arguments
- (substitute-keyword-arguments (package-arguments template)
- ((#:tex-directory _ #t)
- "latex/fvextra")))
- (home-page "https://ctan.org/macros/latex/contrib/fvextra")
- (synopsis "Extensions and patches for fancyvrb")
- (description
- "This package provides several extensions to fancyvrb, including
-automatic line breaking and improved math mode. It also patches some fancyvrb
-internals.")
- (license license:lppl1.3+))))
+ (package
+ (name "texlive-fvextra")
+ (version (number->string %texlive-revision))
+ (source (texlive-origin
+ name version
+ (list "doc/latex/fvextra/" "source/latex/fvextra/"
+ "tex/latex/fvextra/")
+ (base32
+ "0nawx1fh55yhqspy5jgss2qmwpqmikfrg7628smk931rph9nq0aa")))
+ (outputs '("out" "doc"))
+ (build-system texlive-build-system)
+ (propagated-inputs
+ (list texlive-etoolbox texlive-fancyvrb texlive-lineno texlive-upquote))
+ (home-page "https://ctan.org/pkg/fvextra")
+ (synopsis "Extensions and patches for @code{fancyvrb}")
+ (description
+ "This package provides several extensions to fancyvrb, including
+automatic line breaking and improved math mode.")
+ (license license:lppl1.3+)))
(define-public bibtool
(package