ngz pushed a commit to branch tex-team
in repository guix.
commit 7794c87fcc8de9a86bef2d5a0384b9483b08a707
Author: Nicolas Goaziou <[email protected]>
AuthorDate: Tue May 28 07:24:36 2024 +0200
gnu: Add texlive-vlna-bin.
* gnu/packages/tex.scm (texlive-vlna-bin): New variable.
(texlive-vlna)[propagated-inputs]: Add TEXLIVE-VLNA-BIN.
Change-Id: I98c4345f732488f43491a31c5faea54b231d3846
---
gnu/packages/tex.scm | 55 +++++++++++++++++++++++++++++-----------------------
1 file changed, 31 insertions(+), 24 deletions(-)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index af4289cc0f..6b3be840ee 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -32645,7 +32645,28 @@ strong on layout, from simple alternate-line
indentation to the @code{Mouse's
tale} from @emph{Alice in Wonderland}.")
(license license:lppl)))
-(define texlive-vlna-bin
+(define-public texlive-vlna
+ (package
+ (name "texlive-vlna")
+ (version (number->string %texlive-revision))
+ (source (texlive-origin
+ name version
+ (list "doc/man/man1/vlna.1"
+ "doc/man/man1/vlna.man1.pdf" "doc/vlna/")
+ (base32
+ "0nfb7mj6y9d4n89z59ppi96grfylwky97mxcv9rjflr5kpqlpga2")))
+ (outputs '("out" "doc"))
+ (build-system texlive-build-system)
+ (propagated-inputs (list texlive-vlna-bin))
+ (home-page "https://ctan.org/pkg/vlna")
+ (synopsis "Add @samp{~} after non-syllabic preposition, for Czech/Slovak")
+ (description
+ "This package provides a preprocessor for TeX source implementing the
+Czech/Slovak typographical rule forbidding a non-syllabic preposition alone at
+the end of a line.")
+ (license license:knuth)))
+
+(define-public texlive-vlna-bin
(package
(inherit texlive-bin)
(name "texlive-vlna-bin")
@@ -32670,9 +32691,9 @@ tale} from @emph{Alice in Wonderland}.")
(arguments
(substitute-keyword-arguments (package-arguments texlive-bin)
((#:configure-flags flags)
- #~(cons* "--enable-vlna" (delete "--enable-web2c" #$flags)))
- ((#:phases _)
- #~(modify-phases %standard-phases
+ #~(cons "--enable-vlna" (delete "--enable-web2c" #$flags)))
+ ((#:phases phases)
+ #~(modify-phases #$phases
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
@@ -32683,27 +32704,13 @@ tale} from @emph{Alice in Wonderland}.")
(with-directory-excursion "utils/vlna"
(invoke "make" "install"))))))))
(native-inputs '())
- (inputs '())))
-
-(define-public texlive-vlna
- (package
- (name "texlive-vlna")
- (version (number->string %texlive-revision))
- (source (texlive-origin
- name version
- (list "doc/man/man1/vlna.1"
- "doc/man/man1/vlna.man1.pdf" "doc/vlna/")
- (base32
- "0nfb7mj6y9d4n89z59ppi96grfylwky97mxcv9rjflr5kpqlpga2")))
- (outputs '("out" "doc"))
- (build-system texlive-build-system)
- (home-page "https://ctan.org/pkg/vlna")
- (synopsis "Add @samp{~} after non-syllabic preposition, for Czech/Slovak")
+ (inputs '())
+ (propagated-inputs '())
+ (home-page (package-home-page texlive-vlna))
+ (synopsis "Binary for @code{texlive-vlna}")
(description
- "This package provides a preprocessor for TeX source implementing the
-Czech/Slovak typographical rule forbidding a non-syllabic preposition alone at
-the end of a line.")
- (license license:knuth)))
+ "This package provides the binary for @code{texlive-vlna}.")
+ (license (package-license texlive-vlna))))
(define-public texlive-vntex
(package