3
0
Fork 0
forked from mirrors/nixpkgs

perl-Encode-Locale: 1.03 -> 1.05

This commit is contained in:
Robert Helgesson 2015-07-21 20:56:33 +02:00
parent 2b5a60700e
commit 04bf08c707

View file

@ -3401,16 +3401,21 @@ let self = _self // overrides; _self = with self; {
};
EncodeLocale = buildPerlPackage rec {
name = "Encode-Locale-1.03";
name = "Encode-Locale-1.05";
src = fetchurl {
url = "mirror://cpan/modules/by-module/Encode/${name}.tar.gz";
sha256 = "0m9d1vdphlyzybgmdanipwd9ndfvyjgk3hzw250r299jjgh3fqzp";
sha256 = "176fa02771f542a4efb1dbc2a4c928e8f4391bf4078473bd6040d8f11adb0ec1";
};
preCheck = if stdenv.isCygwin then ''
sed -i"" -e "s@plan tests => 13@plan tests => 10@" t/env.t
sed -i"" -e "s@ok(env(\"\\\x@#ok(env(\"\\\x@" t/env.t
sed -i"" -e "s@ok(\$ENV{\"\\\x@#ok(\$ENV{\"\\\x@" t/env.t
'' else null;
meta = {
description = "Determine the locale encoding";
license = with stdenv.lib.licenses; [ artistic1 gpl1Plus ];
maintainers = [ maintainers.rycee ];
};
};
EnvPath = buildPerlPackage {