gnu: Add texlive-patgen-bin.

* gnu/packages/tex.scm (texlive-patgen-bin): New variable.
(texlive-patgen)[propagated-inputs]: Add TEXLIVE-PATGEN-BIN.

Change-Id: Id1d86035a7015bd447b9a24ea7e430a7b5ef57a4
This commit is contained in:
Nicolas Goaziou 2024-05-27 16:13:52 +02:00 committed by Ludovic Courtès
parent f4551f69e5
commit f8da4c59d5
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -38989,7 +38989,7 @@ (define-public texlive-patgen
"03y05mv0n04hyj0lcq54grx7w5wv95h61j6xlx2jc9v0ib9akq4y")))
(outputs '("out" "doc"))
(build-system texlive-build-system)
(propagated-inputs (list texlive-kpathsea))
(propagated-inputs (list texlive-kpathsea texlive-patgen-bin))
(home-page "https://ctan.org/pkg/patgen")
(synopsis "Generate hyphenation patterns")
(description
@ -38997,6 +38997,29 @@ (define-public texlive-patgen
that can be used by the TeX 82 hyphenation algorithm.")
(license license:public-domain)))
(define-public texlive-patgen-bin
(package
(inherit texlive-bin)
(name "texlive-patgen-bin")
(arguments
(substitute-keyword-arguments (package-arguments texlive-bin)
((#:configure-flags flags)
#~(delete "--enable-web2c" #$flags))
((#:phases phases)
#~(modify-phases #$phases
(replace 'install
(lambda _
(with-directory-excursion "texk/web2c"
(invoke "make" "patgen")
(install-file "patgen"
(string-append #$output "/bin")))))))))
(native-inputs (list pkg-config))
(home-page (package-home-page texlive-patgen))
(synopsis "Binary for @code{texlive-patgen}")
(description
"This package provides the binary for @code{texlive-patgen}.")
(license (package-license texlive-patgen))))
(define-public texlive-pdfbook2
(package
(name "texlive-pdfbook2")