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

35 lines
1.2 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
2018-08-05 19:45:51 +00:00
perlPackages.buildPerlModule rec {
2014-02-25 16:37:32 +00:00
name = "biber-${version}";
2017-12-15 18:02:00 +00:00
version = "2.7";
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}";
2017-12-15 18:02:00 +00:00
sha256 = "04jmsh59g2s0b61rm25z0hwb6yliqyh5gjs4y74va93d2b9mrd17";
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 FileSlurp 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
};
}