summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <[email protected]>2024-05-27 16:27:22 +0200
committerLudovic Courtès <[email protected]>2024-08-31 10:45:22 +0200
commite01b01af265aaa6957321fbdb4378465b444bd35 (patch)
treebef9c9c745b26fad709b4640f57383972b048537
parent313cc9f2533f36491e613e83703db16acefcfeb1 (diff)
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
-rw-r--r--gnu/packages/tex.scm25
1 files changed, 24 insertions, 1 deletions
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 @@ 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
@@ -58795,6 +58795,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")