mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: biber -> texlive-biber.
Build from sources provided by TeX Live distribution, so they always match BibLaTeX version. * gnu/packages/patches/biber-adapt-perl-5.36.patch: Delete file. * gnu/local.mk: Apply removal. * gnu/packages/tex.scm (texlive-biber): New variable. (biber): Deprecate variable. (perl-text-bibtex): Move from here... * gnu/packages/perl.scm (perl-text-bibtex): ... to here.
This commit is contained in:
parent
aea0d94bc1
commit
3aeca58073
4 changed files with 95 additions and 122 deletions
|
@ -10631,6 +10631,46 @@ used to justify strings to various alignment styles.")
|
|||
text sequences from strings.")
|
||||
(license (package-license perl))))
|
||||
|
||||
(define-public perl-text-bibtex
|
||||
(package
|
||||
(name "perl-text-bibtex")
|
||||
(version "0.88")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "mirror://cpan/authors/id/A/AM/AMBS/Text-BibTeX-"
|
||||
version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"0b7lmjvfmypps1nw6nsdikgaakm0n0g4186glaqazg5xd1p5h55h"))))
|
||||
(build-system perl-build-system)
|
||||
(arguments
|
||||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'add-output-directory-to-rpath
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(substitute* "inc/MyBuilder.pm"
|
||||
(("-Lbtparse" line)
|
||||
(string-append "-Wl,-rpath="
|
||||
(assoc-ref outputs "out") "/lib " line)))
|
||||
#t))
|
||||
(add-after 'unpack 'install-libraries-to-/lib
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(substitute* "Build.PL"
|
||||
(("lib64") "lib"))
|
||||
#t)))))
|
||||
(native-inputs
|
||||
(list perl-capture-tiny perl-config-autoconf perl-extutils-libbuilder
|
||||
perl-module-build))
|
||||
(home-page "https://metacpan.org/release/Text-BibTeX")
|
||||
(synopsis "Interface to read and parse BibTeX files")
|
||||
(description "@code{Text::BibTeX} is a Perl library for reading, parsing,
|
||||
and processing BibTeX files. @code{Text::BibTeX} gives you access to the data
|
||||
at many different levels: you may work with BibTeX entries as simple field to
|
||||
string mappings, or get at the original form of the data as a list of simple
|
||||
values (strings, macros, or numbers) pasted together.")
|
||||
(license license:perl-license)))
|
||||
|
||||
(define-public perl-text-charwidth
|
||||
(package
|
||||
(name "perl-text-charwidth")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue