nixpkgs/pkgs/tools/typesetting/biber/default.nix

38 lines
1.3 KiB
Nix
Raw Normal View History

2018-08-05 19:45:51 +00:00
{ stdenv, fetchFromGitHub, perlPackages }:
2014-02-25 16:37:32 +00:00
# builds but doesn't work with perl 5.24, see discussion in #40826
# TODO: build with perl >=5.26 and try to enable tests
2018-08-05 19:45:51 +00:00
perlPackages.buildPerlModule rec {
2014-02-25 16:37:32 +00:00
name = "biber-${version}";
version = "2.10";
2018-08-05 19:45:51 +00:00
2016-06-29 11:44:51 +00:00
src = fetchFromGitHub {
owner = "plk";
repo = "biber";
rev = "v${version}";
sha256 = "0f6bb1iprl92iamxqlr8fc99mxr9n3722frd1ak9pbzh3m6c2ny6";
2014-02-25 16:37:32 +00:00
};
2018-08-05 19:45:51 +00:00
buildInputs = with perlPackages; [
2014-02-25 16:37:32 +00:00
autovivification BusinessISBN BusinessISMN BusinessISSN ConfigAutoConf
DataCompare DataDump DateSimple EncodeEUCJPASCII EncodeHanExtra EncodeJIS2K
2017-12-15 18:02:00 +00:00
DateTime DateTimeFormatBuilder DateTimeCalendarJulian
ExtUtilsLibBuilder FileSlurper FileWhich IPCRun3 LogLog4perl LWPProtocolHttps ListAllUtils
2017-12-15 18:02:00 +00:00
ListMoreUtils MozillaCA ReadonlyXS RegexpCommon TextBibTeX
2014-02-25 16:37:32 +00:00
UnicodeCollate UnicodeLineBreak URI XMLLibXMLSimple XMLLibXSLT XMLWriter
2017-12-16 13:44:06 +00:00
ClassAccessor TextCSV TextCSV_XS TextRoman DataUniqid LinguaTranslit UnicodeNormalize SortKey
TestDifferences
2014-02-25 16:37:32 +00:00
];
2017-12-16 13:44:06 +00:00
# Tests depend on the precise Unicode-Collate version (expects 1.19, but we have 1.25)
2014-02-25 16:37:32 +00:00
doCheck = false;
2018-08-05 19:45:51 +00:00
meta = with stdenv.lib; {
2014-02-25 16:37:32 +00:00
description = "Backend for BibLaTeX";
2018-08-05 19:45:51 +00:00
license = with licenses; [ artistic1 gpl1Plus ];
platforms = platforms.unix;
maintainers = [ maintainers.ttuegel ];
2014-02-25 16:37:32 +00:00
};
}