mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
ExtUtilsTypemapsDefault: fix for perl < 5.16
Add missing dependencies for ExtUtilsTypemapsDefault, needed when building with perl < 5.16. This works for perl 5.16 too. ExtUtils-ParseXS 3.15 has disappeared from the mirrors, so I had to bump it to something available from CPAN; version 3.18. See note from CPAN[1]: This module [ExtUtilsTypemap] exists merely as a compatibility wrapper around ExtUtils::Typemaps. In a nutshell, ExtUtils::Typemap was renamed to ExtUtils::Typemaps because the Typemap directory in lib/ could collide with the typemap file on case-insensitive file systems. The ExtUtils::Typemaps module is part of the ExtUtils::ParseXS distribution and ships with the standard library of perl starting with perl version 5.16. [1] http://search.cpan.org/~smueller/ExtUtils-Typemap-1.00/lib/ExtUtils/Typemap.pm:
This commit is contained in:
parent
a80e6f9a19
commit
e9bee7d9cb
1 changed files with 23 additions and 2 deletions
|
@ -2569,19 +2569,40 @@ rec {
|
|||
};
|
||||
|
||||
ExtUtilsParseXS = buildPerlPackage rec {
|
||||
name = "ExtUtils-ParseXS-3.15";
|
||||
name = "ExtUtils-ParseXS-3.18";
|
||||
src = fetchurl {
|
||||
url = "mirror://cpan/modules/by-module/ExtUtils/${name}.tar.gz";
|
||||
sha256 = "06baf0nsmdkfk50p4x9kss4ncm8h49gkzy8hl5cxbxdsab65gmrb";
|
||||
sha256 = "0kvbx66vncgk2c72994z31bgh2w3rsrlnx0z7cmxqa7w3hlc4741";
|
||||
};
|
||||
};
|
||||
|
||||
# From CPAN[1]:
|
||||
# This module exists merely as a compatibility wrapper around
|
||||
# ExtUtils::Typemaps. In a nutshell, ExtUtils::Typemap was renamed to
|
||||
# ExtUtils::Typemaps because the Typemap directory in lib/ could collide with
|
||||
# the typemap file on case-insensitive file systems.
|
||||
#
|
||||
# The ExtUtils::Typemaps module is part of the ExtUtils::ParseXS distribution
|
||||
# and ships with the standard library of perl starting with perl version
|
||||
# 5.16.
|
||||
#
|
||||
# [1] http://search.cpan.org/~smueller/ExtUtils-Typemap-1.00/lib/ExtUtils/Typemap.pm:
|
||||
ExtUtilsTypemap = buildPerlPackage rec {
|
||||
name = "ExtUtils-Typemap-1.00";
|
||||
src = fetchurl {
|
||||
url = "mirror://cpan/modules/by-module/ExtUtils/${name}.tar.gz";
|
||||
sha256 = "1iqz0xlscg655gnwb2h1wrjj70llblps1zznl29qn1mv5mvibc5i";
|
||||
};
|
||||
buildInputs = [ ExtUtilsParseXS ];
|
||||
};
|
||||
|
||||
ExtUtilsTypemapsDefault = buildPerlModule rec {
|
||||
name = "ExtUtils-Typemaps-Default-1.01";
|
||||
src = fetchurl {
|
||||
url = "mirror://cpan/modules/by-module/ExtUtils/${name}.tar.gz";
|
||||
sha256 = "0k03rr7bmhnn6j0505w9id5apss85yvqnx76hxf3javn3klj1m5z";
|
||||
};
|
||||
propagatedBuildInputs = [ ExtUtilsTypemap ExtUtilsParseXS ];
|
||||
};
|
||||
|
||||
ExtUtilsXSpp = buildPerlModule rec {
|
||||
|
|
Loading…
Reference in a new issue