![Dmitry Kalinkin](/assets/img/avatar_default.png)
biber: 2.12 -> 2.13 Vendored potrace was moved from libs/potrace to texk/dvisvgm/dvisvgm-src/libs/potrace. Unfortunately, it is not trivial to remove it from there, so for now dvisvgm seems to be using its vendored dependencies.
38 lines
1.4 KiB
Nix
38 lines
1.4 KiB
Nix
{ stdenv, fetchpatch, perlPackages, shortenPerlShebang, texlive }:
|
|
|
|
let
|
|
biberSource = stdenv.lib.head (builtins.filter (p: p.tlType == "source") texlive.biber.pkgs);
|
|
in
|
|
|
|
perlPackages.buildPerlModule {
|
|
pname = "biber";
|
|
inherit (biberSource) version;
|
|
|
|
src = "${biberSource}/source/bibtex/biber/biblatex-biber.tar.gz";
|
|
|
|
# TODO: remove TextBibTeX for biber 2.14: https://github.com/plk/biber/blob/dev/Changes
|
|
buildInputs = with perlPackages; [
|
|
autovivification BusinessISBN BusinessISMN BusinessISSN ConfigAutoConf
|
|
DataCompare DataDump DateSimple EncodeEUCJPASCII EncodeHanExtra EncodeJIS2K
|
|
DateTime DateTimeFormatBuilder DateTimeCalendarJulian
|
|
ExtUtilsLibBuilder FileSlurper FileWhich IPCRun3 LogLog4perl LWPProtocolHttps ListAllUtils
|
|
ListMoreUtils MozillaCA IOString ReadonlyXS RegexpCommon TextBibTeX
|
|
UnicodeLineBreak URI XMLLibXMLSimple XMLLibXSLT XMLWriter
|
|
ClassAccessor TextCSV TextCSV_XS TextRoman DataUniqid LinguaTranslit SortKey
|
|
TestDifferences
|
|
PerlIOutf8_strict
|
|
];
|
|
nativeBuildInputs = stdenv.lib.optional stdenv.isDarwin shortenPerlShebang;
|
|
|
|
postInstall = stdenv.lib.optionalString stdenv.isDarwin ''
|
|
shortenPerlShebang $out/bin/biber
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Backend for BibLaTeX";
|
|
license = with licenses; [ artistic1 gpl1Plus ];
|
|
platforms = platforms.unix;
|
|
maintainers = [ maintainers.ttuegel ];
|
|
};
|
|
}
|