perlPackages: compatibility with perl <= 5.10

This is just a small dependency fix for ExtUtils::CBuilder and
Module::Build to make them build with perl 5.10.

It seems that perl gradually adds CPAN modules into its core. So when
using older perl there typically some more dependencies to take care of.

ExtUtils-CBuilder 0.280202 is not available anymore, so I had to bump it
to 0.280205.
This commit is contained in:
Bjørn Forsman 2013-05-04 22:32:17 +02:00
parent e9bee7d9cb
commit f094996e9c

View file

@ -2472,11 +2472,12 @@ rec {
};
ExtUtilsCBuilder = buildPerlPackage rec {
name = "ExtUtils-CBuilder-0.280202";
name = "ExtUtils-CBuilder-0.280205";
src = fetchurl {
url = "mirror://cpan/modules/by-module/ExtUtils/${name}.tar.gz";
sha256 = "13qjdz1kmrp5mp404by94cdsyydjadg974ykinqga450djjaqpbq";
sha256 = "0nfrr3zd71gnsbp5xacdb70n17slrzj421s4nyr11zg5cqsj3ngs";
};
buildInputs = [ PerlOSType ];
};
ExtUtilsConfig = buildPerlPackage {
@ -4064,6 +4065,7 @@ rec {
url = mirror://cpan/authors/id/L/LE/LEONT/Module-Build-0.4005.tar.gz;
sha256 = "eb2522507251550f459c11223ea6d86b34f1dee9b3e3928d0d6a0497505cb7ef";
};
buildInputs = [ CPANMeta ExtUtilsCBuilder ];
meta = {
description = "Build and install Perl modules";
license = "perl";