Add biber-1.8 and dependencies

This commit is contained in:
Thomas Tuegel 2014-02-25 10:37:32 -06:00 committed by Domen Kozar
parent 9fab4366bf
commit 1b3360a28f
3 changed files with 244 additions and 0 deletions

View File

@ -0,0 +1,40 @@
{ stdenv, fetchurl, buildPerlPackage, autovivification, BusinessISBN
, BusinessISMN, BusinessISSN, ConfigAutoConf, DataCompare, DataDump, DateSimple
, EncodeEUCJPASCII, EncodeHanExtra, EncodeJIS2K, ExtUtilsLibBuilder
, FileSlurp, IPCRun3, Log4Perl, LWPProtocolHttps, ListAllUtils, ListMoreUtils
, ModuleBuild, MozillaCA, ReadonlyXS, RegexpCommon, TextBibTeX, UnicodeCollate
, UnicodeLineBreak, URI, XMLLibXMLSimple, XMLLibXSLT, XMLWriter }:
let
version = "1.8";
pn = "biblatex-biber";
in
buildPerlPackage {
name = "biber-${version}";
src = fetchurl {
url = "mirror://sourceforge/project/${pn}/${pn}/${version}/${pn}.tar.gz";
sha256 = "0ffry64pdvg5g487r7qab5b3cs4kq8rq8n3bymxrr1qh3mp79k4n";
};
buildInputs = [
autovivification BusinessISBN BusinessISMN BusinessISSN ConfigAutoConf
DataCompare DataDump DateSimple EncodeEUCJPASCII EncodeHanExtra EncodeJIS2K
ExtUtilsLibBuilder FileSlurp IPCRun3 Log4Perl LWPProtocolHttps ListAllUtils
ListMoreUtils ModuleBuild MozillaCA ReadonlyXS RegexpCommon TextBibTeX
UnicodeCollate UnicodeLineBreak URI XMLLibXMLSimple XMLLibXSLT XMLWriter
];
preConfigure = "touch Makefile.PL";
buildPhase = "perl Build.PL --prefix=$out; ./Build build";
checkPhase = "./Build test";
installPhase = "./Build install";
# Tests seem to be broken
doCheck = false;
meta = {
description = "Backend for BibLaTeX";
license = "perl";
platforms = stdenv.lib.platforms.unix;
maintainers = [ stdenv.lib.maintainers.ttuegel ];
};
}

View File

@ -616,6 +616,15 @@ let
bgs = callPackage ../tools/X11/bgs { }; bgs = callPackage ../tools/X11/bgs { };
biber = callPackage ../tools/typesetting/biber {
inherit (perlPackages)
autovivification BusinessISBN BusinessISMN BusinessISSN ConfigAutoConf
DataCompare DataDump DateSimple EncodeEUCJPASCII EncodeHanExtra EncodeJIS2K
ExtUtilsLibBuilder FileSlurp IPCRun3 Log4Perl LWPProtocolHttps ListAllUtils
ListMoreUtils ModuleBuild MozillaCA ReadonlyXS RegexpCommon TextBibTeX
UnicodeCollate UnicodeLineBreak URI XMLLibXMLSimple XMLLibXSLT XMLWriter;
};
bibtextools = callPackage ../tools/typesetting/bibtex-tools { bibtextools = callPackage ../tools/typesetting/bibtex-tools {
inherit (strategoPackages016) strategoxt sdf; inherit (strategoPackages016) strategoxt sdf;
}; };

View File

@ -304,6 +304,19 @@ let self = _self // overrides; _self = with self; {
}; };
}; };
autovivification = buildPerlPackage {
name = "autovivification-0.12";
src = fetchurl {
url = mirror://cpan/authors/id/V/VP/VPIT/autovivification-0.12.tar.gz;
sha256 = "6ef8686766c63571389880e5d87a0ca1d46f7d127982e8ef38aca7568c44840c";
};
meta = {
homepage = http://search.cpan.org/dist/autovivification/;
description = "Lexically disable autovivification";
license = "perl";
};
};
BerkeleyDB = import ../development/perl-modules/BerkeleyDB { BerkeleyDB = import ../development/perl-modules/BerkeleyDB {
inherit buildPerlPackage fetchurl; inherit buildPerlPackage fetchurl;
inherit (pkgs) db; inherit (pkgs) db;
@ -385,6 +398,56 @@ let self = _self // overrides; _self = with self; {
propagatedBuildInputs = [ ModuleBuildWithXSpp ExtUtilsTypemapsDefault ]; propagatedBuildInputs = [ ModuleBuildWithXSpp ExtUtilsTypemapsDefault ];
}; };
BusinessISBN = buildPerlPackage {
name = "Business-ISBN-2.07";
src = fetchurl {
url = mirror://cpan/authors/id/B/BD/BDFOY/Business-ISBN-2.07.tar.gz;
sha256 = "4c11279580872bf3cc7176bb75c25b165d4b59a2828fc43d9a355cec3d0a45ff";
};
propagatedBuildInputs = [ BusinessISBNData URI ];
meta = {
description = "Parse and validate ISBNs";
license = "perl";
};
};
BusinessISBNData = buildPerlPackage {
name = "Business-ISBN-Data-20120719.001";
src = fetchurl {
url = mirror://cpan/authors/id/B/BD/BDFOY/Business-ISBN-Data-20120719.001.tar.gz;
sha256 = "745f6bf8f7bd912c0a1865aa5f7e49343804de27783f544b2e2c714e14a704a3";
};
meta = {
description = "Data pack for Business::ISBN";
license = "perl";
};
};
BusinessISMN = buildPerlPackage {
name = "Business-ISMN-1.11";
src = fetchurl {
url = mirror://cpan/authors/id/B/BD/BDFOY/Business-ISMN-1.11.tar.gz;
sha256 = "76d5240a5672c7a8b1ba9e9ea8238a5c8882139911acbb67b7059b5ee3da342d";
};
propagatedBuildInputs = [ TieCycle ];
meta = {
description = "Work with International Standard Music Numbers";
license = "perl";
};
};
BusinessISSN = buildPerlPackage {
name = "Business-ISSN-0.91";
src = fetchurl {
url = mirror://cpan/authors/id/B/BD/BDFOY/Business-ISSN-0.91.tar.gz;
sha256 = "f15b192c0f547bb2967811072b3d343b94bc5ea58d02704c19122f7ae0a9d6b5";
};
meta = {
description = "Work with International Standard Serial Numbers";
license = "perl";
};
};
CacheCache = buildPerlPackage rec { CacheCache = buildPerlPackage rec {
name = "Cache-Cache-1.06"; name = "Cache-Cache-1.06";
src = fetchurl { src = fetchurl {
@ -1935,6 +1998,17 @@ let self = _self // overrides; _self = with self; {
}; };
}; };
DateSimple = buildPerlPackage {
name = "Date-Simple-3.03";
src = fetchurl {
url = mirror://cpan/authors/id/I/IZ/IZUT/Date-Simple-3.03.tar.gz;
sha256 = "29a1926314ce1681a312d6155c29590c771ddacf91b7485873ce449ef209dd04";
};
meta = {
license = "unknown";
};
};
DateTime = buildPerlModule { DateTime = buildPerlModule {
name = "DateTime-1.07"; name = "DateTime-1.07";
src = fetchurl { src = fetchurl {
@ -2996,6 +3070,40 @@ let self = _self // overrides; _self = with self; {
}; };
}; };
EncodeEUCJPASCII = buildPerlPackage {
name = "Encode-EUCJPASCII-0.03";
src = fetchurl {
url = mirror://cpan/authors/id/N/NE/NEZUMI/Encode-EUCJPASCII-0.03.tar.gz;
sha256 = "f998d34d55fd9c82cf910786a0448d1edfa60bf68e2c2306724ca67c629de861";
};
meta = {
description = "EucJP-ascii - An eucJP-open mapping";
license = "perl";
};
};
EncodeHanExtra = buildPerlPackage {
name = "Encode-HanExtra-0.23";
src = fetchurl {
url = mirror://cpan/authors/id/A/AU/AUDREYT/Encode-HanExtra-0.23.tar.gz;
sha256 = "1fd4b06cada70858003af153f94c863b3b95f2e3d03ba18d0451a81d51db443a";
};
meta = {
description = "Extra sets of Chinese encodings";
license = "mit";
};
};
EncodeJIS2K = buildPerlPackage {
name = "Encode-JIS2K-0.02";
src = fetchurl {
url = mirror://cpan/authors/id/D/DA/DANKOGAI/Encode-JIS2K-0.02.tar.gz;
sha256 = "5d718add5857f37fc270f24360bc9d100b72e0e13a11ca3149fe4e4d7c7cc4bf";
};
meta = {
};
};
EncodeLocale = buildPerlPackage rec { EncodeLocale = buildPerlPackage rec {
name = "Encode-Locale-1.03"; name = "Encode-Locale-1.03";
src = fetchurl { src = fetchurl {
@ -5027,6 +5135,18 @@ let self = _self // overrides; _self = with self; {
}; };
}; };
MIMECharset = buildPerlPackage {
name = "MIME-Charset-1.011.1";
src = fetchurl {
url = mirror://cpan/authors/id/N/NE/NEZUMI/MIME-Charset-1.011.1.tar.gz;
sha256 = "2955a3b617fe12654efc2a13ae1dc7d32aad81d35cfae21f74337213cf2435d5";
};
meta = {
description = "Charset Information for MIME";
license = "perl";
};
};
mimeConstruct = buildPerlPackage rec { mimeConstruct = buildPerlPackage rec {
name = "mime-construct-1.11"; name = "mime-construct-1.11";
src = fetchurl { src = fetchurl {
@ -5138,6 +5258,19 @@ let self = _self // overrides; _self = with self; {
}; };
}; };
ModuleInfo = buildPerlPackage rec {
name = "Module-Info-0.35";
src = fetchurl {
url = "mirror://cpan/authors/id/M/MB/MBARBON/Module-Info-0.35.tar.gz";
sha256 = "0r7vxg1iy3lam0jgb2sk8ghgpmp3x5fskvzqlgkb09bssq83s1xb";
};
buildInputs = [ TestPod TestPodCoverage ];
meta = {
description = "Information about Perl modules";
license = "perl";
};
};
ModuleInstall = buildPerlPackage { ModuleInstall = buildPerlPackage {
name = "Module-Install-1.06"; name = "Module-Install-1.06";
src = fetchurl { src = fetchurl {
@ -5901,6 +6034,18 @@ let self = _self // overrides; _self = with self; {
doCheck = false; # check can't find its own Mouse::Tiny module doCheck = false; # check can't find its own Mouse::Tiny module
}; };
MozillaCA = buildPerlPackage {
name = "Mozilla-CA-20130114";
src = fetchurl {
url = mirror://cpan/authors/id/A/AB/ABH/Mozilla-CA-20130114.tar.gz;
sha256 = "82342614add1dbca8a00daa1ee55af3e0036245aed7d445537918c045008ccd7";
};
meta = {
description = "Mozilla's CA cert bundle in PEM format";
license = "unknown";
};
};
MROCompat = buildPerlPackage { MROCompat = buildPerlPackage {
name = "MRO-Compat-0.12"; name = "MRO-Compat-0.12";
src = fetchurl { src = fetchurl {
@ -8885,6 +9030,18 @@ let self = _self // overrides; _self = with self; {
propagatedBuildInputs = [ DevelStackTrace Moose ]; propagatedBuildInputs = [ DevelStackTrace Moose ];
}; };
TieCycle = buildPerlPackage {
name = "Tie-Cycle-1.19";
src = fetchurl {
url = mirror://cpan/authors/id/B/BD/BDFOY/Tie-Cycle-1.19.tar.gz;
sha256 = "bd315874c85feaf8948eeb2f40fe2768a6ca00f089e35b32bfe88f3f384f9ca1";
};
meta = {
description = "Cycle through a list of values via a scalar";
license = "perl";
};
};
TieIxHash = buildPerlPackage { TieIxHash = buildPerlPackage {
name = "Tie-IxHash-1.22"; name = "Tie-IxHash-1.22";
src = fetchurl { src = fetchurl {
@ -9037,6 +9194,18 @@ let self = _self // overrides; _self = with self; {
}; };
}; };
UnicodeCollate = buildPerlPackage {
name = "Unicode-Collate-1.04";
src = fetchurl {
url = mirror://cpan/authors/id/S/SA/SADAHIRO/Unicode-Collate-1.04.tar.gz;
sha256 = "4e3a2300b961d3aaf3789cdbfb95601edaaffb4109ed6cdb912a664d5c7bd706";
};
meta = {
description = "Unicode Collation Algorithm";
license = "perl";
};
};
UnicodeICUCollator = buildPerlPackage { UnicodeICUCollator = buildPerlPackage {
name = "Unicode-ICU-Collator-0.002"; name = "Unicode-ICU-Collator-0.002";
src = fetchurl { src = fetchurl {
@ -9052,6 +9221,19 @@ let self = _self // overrides; _self = with self; {
buildInputs = [ pkgs.icu ]; buildInputs = [ pkgs.icu ];
}; };
UnicodeLineBreak = buildPerlPackage {
name = "Unicode-LineBreak-2013.11";
src = fetchurl {
url = mirror://cpan/authors/id/N/NE/NEZUMI/Unicode-LineBreak-2013.11.tar.gz;
sha256 = "8946b883ae687ff652e93d6185e23a936c7f337f2e115851fdfed72e1f73c7f9";
};
propagatedBuildInputs = [ MIMECharset ];
meta = {
description = "UAX #14 Unicode Line Breaking Algorithm";
license = "perl";
};
};
UnixGetrusage = buildPerlPackage { UnixGetrusage = buildPerlPackage {
name = "Unix-Getrusage-0.03"; name = "Unix-Getrusage-0.03";
src = fetchurl { src = fetchurl {
@ -9264,6 +9446,19 @@ let self = _self // overrides; _self = with self; {
propagatedBuildInputs = [ XMLSAX ]; propagatedBuildInputs = [ XMLSAX ];
}; };
XMLLibXMLSimple = buildPerlPackage {
name = "XML-LibXML-Simple-0.93";
src = fetchurl {
url = mirror://cpan/authors/id/M/MA/MARKOV/XML-LibXML-Simple-0.93.tar.gz;
sha256 = "f2eb1c1523d6414cf2a646a289b0325b489954382c862928d165a03a7cce767c";
};
propagatedBuildInputs = [ FileSlurp XMLLibXML ];
meta = {
description = "XML::LibXML based XML::Simple clone";
license = "perl";
};
};
XMLLibXSLT = buildPerlPackage rec { XMLLibXSLT = buildPerlPackage rec {
name = "XML-LibXSLT-1.87"; name = "XML-LibXSLT-1.87";
src = fetchurl { src = fetchurl {