ngz pushed a commit to branch tex-team
in repository guix.
commit 629df96b7a46a0b1bff0492ddb234547e895bc9b
Author: Nicolas Goaziou <[email protected]>
AuthorDate: Mon May 27 16:27:22 2024 +0200
gnu: Add texlive-bibtex-bin.
* gnu/packages/tex.scm (texlive-bibtex-bin): New variable.
(texlive-bibtex)[propagated-inputs]: Add TEXLIVE-BIBTEX-BIN.
Change-Id: Id836d5dfa541e14ca4901701b2674ca76a8f2441
---
gnu/packages/tex.scm | 25 ++++++++++++++++++++++++-
1 file changed, 24 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index effe660d86..b89178a116 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -58776,7 +58776,7 @@ AMS-LaTeX, AMS-TeX, and plain TeX). The distribution
includes Michael Barr's
"0iyaxab3wyhy3nw0id892aklpqf17z1cl85v4m3rjy5nmb8darn9")))
(outputs '("out" "doc"))
(build-system texlive-build-system)
- (propagated-inputs (list texlive-kpathsea))
+ (propagated-inputs (list texlive-bibtex-bin texlive-kpathsea))
(home-page "https://ctan.org/pkg/bibtex")
(synopsis "Process bibliographies for LaTeX")
(description
@@ -58786,6 +58786,29 @@ be specified in the document itself (one often needs a
LaTeX citation-style
package, such as @command{natbib} as well).")
(license license:knuth)))
+(define-public texlive-bibtex-bin
+ (package
+ (inherit texlive-bin)
+ (name "texlive-bibtex-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" "bibtex")
+ (install-file "bibtex"
+ (string-append #$output "/bin")))))))))
+ (native-inputs (list pkg-config))
+ (home-page (package-home-page texlive-bibtex))
+ (synopsis "Binary for @code{texlive-bibtex}")
+ (description
+ "This package provides the binary for @code{texlive-bibtex}.")
+ (license (package-license texlive-bibtex))))
+
(define-public texlive-charissil
(package
(name "texlive-charissil")