bug-guix
[Top][All Lists]
Advanced

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

bug#21806: TeX Live: missing biber executable


From: Ludovic Courtès
Subject: bug#21806: TeX Live: missing biber executable
Date: Sat, 19 Dec 2015 18:08:57 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Clément <address@hidden> skribis:

> So I don't know if building it from source is feasible for
> Guix. I could try to have a look, but have zero experience with
> Guix or Perl build system. Anyway, the biber package is indeed
> available on sourceforge².

I gave it a try, and below is an initial patch.  It misses some of the
dependencies required to run the test suite, but that shouldn’t be too
hard to address; the next thing is to address issues reported by ‘guix
lint biber’.  Would you like to give it a try?

Note that I didn’t use the Sourceforge URL because they were all
redirecting to the latest release (2.23), despite the “1.8” or “1.9” in
the URL.

Thanks,
Ludo’.

diff --git a/gnu/packages/texlive.scm b/gnu/packages/texlive.scm
index 6480b25..23360d5 100644
--- a/gnu/packages/texlive.scm
+++ b/gnu/packages/texlive.scm
@@ -22,7 +22,9 @@
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (guix packages)
   #:use-module (guix download)
+  #:use-module (guix git-download)
   #:use-module (guix build-system gnu)
+  #:use-module (guix build-system perl)
   #:use-module (guix build-system trivial)
   #:use-module (gnu packages)
   #:use-module (gnu packages bash)
@@ -311,3 +313,23 @@ to manage bibliographic references.  Automatic execution 
of dvips to produce
 PostScript documents is also included, as well as usage of pdfLaTeX to produce
 PDF documents.")
     (license license:gpl2+)))
+
+(define-public biber
+  (package
+    (name "biber")
+    (version "1.8")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/plk/biber";)
+                    (commit (string-append "v" version))))
+              (sha256
+               (base32
+                "0vpi11skvixdsp4pc1ppmdqiijv6gfj4cxal3vbwrkk07ah4sxv4"))))
+    (build-system perl-build-system)
+    ;; FIXME: Add module for Perl's Data/Compare.pm etc.
+    (inputs `(("perl-ipc-run3" ,perl-ipc-run3)))
+    (home-page "https://github.com/plk/biber";)
+    (synopsis #f)
+    (description #f)
+    (license license:gpl1+)))                     ;GPLv1+ | Artistic

reply via email to

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