nixpkgs/pkgs/tools/typesetting/biber/default.nix
Jan Tojnar 04eddeb969
biber: Fix eval
Remove UnicodeCollate dependency, which is part of Perl 5.28 and
does not exist separately anymore.

Add PerlIO::utf8_strict, which lack thereof Biber complains about
during build.
2019-05-03 19:45:10 +02:00

32 lines
1.1 KiB
Nix

{ stdenv, fetchFromGitHub, perlPackages, texlive }:
let
biberSource = stdenv.lib.head (builtins.filter (p: p.tlType == "source") texlive.biber.pkgs);
in
perlPackages.buildPerlModule rec {
name = "biber-${version}";
inherit (biberSource) version;
src = "${biberSource}/source/bibtex/biber/biblatex-biber.tar.gz";
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 ReadonlyXS RegexpCommon TextBibTeX
UnicodeLineBreak URI XMLLibXMLSimple XMLLibXSLT XMLWriter
ClassAccessor TextCSV TextCSV_XS TextRoman DataUniqid LinguaTranslit SortKey
TestDifferences
PerlIOutf8_strict
];
meta = with stdenv.lib; {
description = "Backend for BibLaTeX";
license = with licenses; [ artistic1 gpl1Plus ];
platforms = platforms.unix;
maintainers = [ maintainers.ttuegel ];
};
}