me
/
guix
Archived
1
0
Fork 0

gnu: texlive: Deprecate biber again in favor of texlive-biber.

The monolithic texlive package and texlive-biber can apparently be used
together now.

* gnu/packages/texlive.scm (biber): Remove variable.
* gnu/packages/tex.scm (biber): Define as deprecated in favor of
texlive-biber.
Andreas Enge 2023-08-17 14:01:09 +02:00
parent ce63901128
commit 4b6a82517e
No known key found for this signature in database
GPG Key ID: F7D5C9BF765C61E3
2 changed files with 2 additions and 82 deletions

View File

@ -38761,6 +38761,8 @@ UTF-8, can (re)-encode input and output, supports highly configurable sorting,
dynamic bibliography sets and many other features.")
(license license:artistic2.0)))
(define-deprecated-package biber texlive-biber)
(define-public rubber
(package
(name "rubber")

View File

@ -430,85 +430,3 @@ This package contains the complete TeX Live distribution.")
(license (license:fsf-free "https://www.tug.org/texlive/copying.html"))
(home-page "https://www.tug.org/texlive/")))
(define-public biber
(package
;; Note: When updating Biber, make sure it matches our BibLaTeX version by
;; checking the Biber/BibLaTeX compatibility matrix in the BibLaTeX manual
;; at <https://ctan.org/pkg/biblatex>.
(name "biber")
(version "2.19")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/plk/biber/")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"1cl7hrflbw61wc95rnjdwyx8cip3jmpn3ic2zjfm0pdp86f2i9rj"))))
(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"))))))))))
(inputs
(list perl-autovivification
perl-class-accessor
perl-data-dump
perl-data-compare
perl-data-uniqid
perl-datetime-format-builder
perl-datetime-calendar-julian
perl-file-slurper
perl-io-string
perl-ipc-cmd
perl-ipc-run3
perl-list-allutils
perl-list-moreutils
perl-mozilla-ca
perl-regexp-common
perl-log-log4perl
perl-parse-recdescent
perl-unicode-collate
perl-unicode-normalize
perl-unicode-linebreak
perl-encode-eucjpascii
perl-encode-jis2k
perl-encode-hanextra
perl-xml-libxml
perl-xml-libxml-simple
perl-xml-libxslt
perl-xml-writer
perl-sort-key
perl-text-csv
perl-text-csv-xs
perl-text-roman
perl-uri
perl-text-bibtex
perl-libwww
perl-lwp-protocol-https
perl-business-isbn
perl-business-issn
perl-business-ismn
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 "https://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)))