From e01b01af265aaa6957321fbdb4378465b444bd35 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Mon, 27 May 2024 16:27:22 +0200 Subject: [PATCH] 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 cbda3d8a82..a79930c3b4 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -58785,7 +58785,7 @@ (define-public texlive-bibtex "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 @@ -58795,6 +58795,29 @@ (define-public texlive-bibtex 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")