[cpan2nix] perlPackages.XMLParser: 2.41 -> 2.44

This commit is contained in:
volth 2018-04-07 07:57:00 +00:00
parent a824a57105
commit caf9dd5a72
1 changed files with 4 additions and 3 deletions

View File

@ -16623,15 +16623,16 @@ let self = _self // overrides; _self = with self; {
};
XMLParser = buildPerlPackage {
name = "XML-Parser-2.41";
name = "XML-Parser-2.44";
src = fetchurl {
url = mirror://cpan/authors/id/T/TO/TODDR/XML-Parser-2.41.tar.gz;
sha256 = "1sadi505g5qmxr36lgcbrcrqh3a5gcdg32b405gnr8k54b6rg0dl";
url = mirror://cpan/authors/id/T/TO/TODDR/XML-Parser-2.44.tar.gz;
sha256 = "05ij0g6bfn27iaggxf8nl5rhlwx6f6p6xmdav6rjcly3x5zd1s8s";
};
patchPhase = if stdenv.isCygwin then ''
sed -i"" -e "s@my \$compiler = File::Spec->catfile(\$path, \$cc\[0\]) \. \$Config{_exe};@my \$compiler = File::Spec->catfile(\$path, \$cc\[0\]) \. (\$^O eq 'cygwin' ? \"\" : \$Config{_exe});@" inc/Devel/CheckLib.pm
'' else null;
makeMakerFlags = "EXPATLIBPATH=${pkgs.expat.out}/lib EXPATINCPATH=${pkgs.expat.dev}/include";
propagatedBuildInputs = [ LWP ];
};
XMLXPath = buildPerlPackage rec {