mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-27 06:42:14 -05:00
gnu: Add biber.
* gnu/packages/tex.scm (biber): New variable.
This commit is contained in:
parent
ebcf74daf8
commit
d400068085
1 changed files with 82 additions and 0 deletions
|
@ -52,6 +52,8 @@ (define-module (gnu packages tex)
|
||||||
#:use-module (gnu packages ruby)
|
#:use-module (gnu packages ruby)
|
||||||
#:use-module (gnu packages shells)
|
#:use-module (gnu packages shells)
|
||||||
#:use-module (gnu packages base)
|
#:use-module (gnu packages base)
|
||||||
|
#:use-module (gnu packages web)
|
||||||
|
#:use-module (gnu packages xml)
|
||||||
#:use-module (gnu packages xorg)
|
#:use-module (gnu packages xorg)
|
||||||
#:use-module (gnu packages xdisorg)
|
#:use-module (gnu packages xdisorg)
|
||||||
#:use-module (gnu packages zip)
|
#:use-module (gnu packages zip)
|
||||||
|
@ -426,6 +428,86 @@ (define-public perl-text-bibtex
|
||||||
values (strings, macros, or numbers) pasted together.")
|
values (strings, macros, or numbers) pasted together.")
|
||||||
(license (package-license perl))))
|
(license (package-license perl))))
|
||||||
|
|
||||||
|
(define-public biber
|
||||||
|
(package
|
||||||
|
(name "biber-next")
|
||||||
|
(version "2.6")
|
||||||
|
(source (origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (string-append "https://github.com/plk/biber/archive/v"
|
||||||
|
version ".tar.gz"))
|
||||||
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"158smzgjhjvyabdv97si5q88zjj5l8j1zbfnddvzy6fkpfhskgkp"))))
|
||||||
|
(build-system perl-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
(add-after 'install 'wrap-programs
|
||||||
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
|
(let* ((out (assoc-ref outputs "out"))
|
||||||
|
(perl5lib (getenv "PERL5LIB")))
|
||||||
|
(wrap-program (string-append out "/bin/biber")
|
||||||
|
`("PERL5LIB" ":" prefix
|
||||||
|
(,(string-append perl5lib ":" out
|
||||||
|
"/lib/perl5/site_perl")))))
|
||||||
|
#t)))))
|
||||||
|
(inputs
|
||||||
|
`(("perl-autovivification" ,perl-autovivification)
|
||||||
|
("perl-class-accessor" ,perl-class-accessor)
|
||||||
|
("perl-data-dump" ,perl-data-dump)
|
||||||
|
("perl-data-compare" ,perl-data-compare)
|
||||||
|
("perl-data-uniqid" ,perl-data-uniqid)
|
||||||
|
("perl-datetime-format-builder" ,perl-datetime-format-builder)
|
||||||
|
("perl-datetime-calendar-julian" ,perl-datetime-calendar-julian)
|
||||||
|
("perl-file-slurp" ,perl-file-slurp)
|
||||||
|
("perl-ipc-cmd" ,perl-ipc-cmd)
|
||||||
|
("perl-ipc-run3" ,perl-ipc-run3)
|
||||||
|
("perl-list-allutils" ,perl-list-allutils)
|
||||||
|
("perl-list-moreutils" ,perl-list-moreutils)
|
||||||
|
("perl-mozilla-ca" ,perl-mozilla-ca)
|
||||||
|
("perl-regexp-common" ,perl-regexp-common)
|
||||||
|
("perl-log-log4perl" ,perl-log-log4perl)
|
||||||
|
;; We cannot use perl-unicode-collate here, because otherwise the
|
||||||
|
;; hardcoded hashes in the tests would differ. See
|
||||||
|
;; https://mail-archive.com/debian-bugs-dist@lists.debian.org/msg1469249.html
|
||||||
|
;;("perl-unicode-collate" ,perl-unicode-collate)
|
||||||
|
("perl-unicode-normalize" ,perl-unicode-normalize)
|
||||||
|
("perl-unicode-linebreak" ,perl-unicode-linebreak)
|
||||||
|
("perl-encode-eucjpascii" ,perl-encode-eucjpascii)
|
||||||
|
("perl-encode-jis2k" ,perl-encode-jis2k)
|
||||||
|
("perl-encode-hanextra" ,perl-encode-hanextra)
|
||||||
|
("perl-xml-libxml" ,perl-xml-libxml)
|
||||||
|
("perl-xml-libxml-simple" ,perl-xml-libxml-simple)
|
||||||
|
("perl-xml-libxslt" ,perl-xml-libxslt)
|
||||||
|
("perl-xml-writer" ,perl-xml-writer)
|
||||||
|
("perl-sort-key" ,perl-sort-key)
|
||||||
|
("perl-text-csv" ,perl-text-csv)
|
||||||
|
("perl-text-csv-xs" ,perl-text-csv-xs)
|
||||||
|
("perl-text-roman" ,perl-text-roman)
|
||||||
|
("perl-uri" ,perl-uri)
|
||||||
|
("perl-text-bibtex" ,perl-text-bibtex)
|
||||||
|
("perl-libwww" ,perl-libwww)
|
||||||
|
("perl-lwp-protocol-https" ,perl-lwp-protocol-https)
|
||||||
|
("perl-business-isbn" ,perl-business-isbn)
|
||||||
|
("perl-business-issn" ,perl-business-issn)
|
||||||
|
("perl-business-ismn" ,perl-business-ismn)
|
||||||
|
("perl-lingua-translit" ,perl-lingua-translit)))
|
||||||
|
(native-inputs
|
||||||
|
`(("perl-config-autoconf" ,perl-config-autoconf)
|
||||||
|
("perl-extutils-libbuilder" ,perl-extutils-libbuilder)
|
||||||
|
("perl-module-build" ,perl-module-build)
|
||||||
|
;; for tests
|
||||||
|
("perl-file-which" ,perl-file-which)
|
||||||
|
("perl-test-more" ,perl-test-most) ; FIXME: "more" would be sufficient
|
||||||
|
("perl-test-differences" ,perl-test-differences)))
|
||||||
|
(home-page "http://biblatex-biber.sourceforge.net/")
|
||||||
|
(synopsis "Backend for the BibLaTeX citation management tool")
|
||||||
|
(description "Biber is a BibTeX replacement for users of biblatex. Among
|
||||||
|
other things it comes with full Unicode support.")
|
||||||
|
(license license:artistic2.0)))
|
||||||
|
|
||||||
|
|
||||||
(define-public rubber
|
(define-public rubber
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Reference in a new issue