guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

22/81: gnu: Add texlive-bibtex-bin.


From: guix-commits
Subject: 22/81: gnu: Add texlive-bibtex-bin.
Date: Tue, 18 Jun 2024 04:40:19 -0400 (EDT)

ngz pushed a commit to branch tex-team
in repository guix.

commit cb507c3ef8f8ea5177125d71bba2df91d31b612e
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
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 8bd7efa44d..252b9c9b70 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -58783,7 +58783,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
@@ -58793,6 +58793,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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]