[cpan2nix] perlPackages.DateManip: 6.51 -> 6.70

This commit is contained in:
volth 2018-04-07 07:54:12 +00:00
parent b56d596979
commit 7654f54ccc

View File

@ -3372,19 +3372,19 @@ let self = _self // overrides; _self = with self; {
};
DateManip = buildPerlPackage rec {
name = "Date-Manip-6.51";
name = "Date-Manip-6.70";
src = fetchurl {
url = "mirror://cpan/authors/id/S/SB/SBECK/${name}.tar.gz";
sha256 = "0afvr2q2hspd807d6wd7kmrr7ypxdlh8bcnqsqbfwcwd74qadg13";
sha256 = "0r4k4ypb09xwhvq6das0vpx2c0xbhhhx83knq6jfpf8m55h8qi9r";
};
# for some reason, parsing /etc/localtime does not work anymore - make sure that the fallback "/bin/date +%Z" will work
patchPhase = ''
sed -i "s#/bin/date#${pkgs.coreutils}/bin/date#" lib/Date/Manip/TZ.pm
'';
propagatedBuildInputs = [ TestInter ];
meta = {
description = "Date manipulation routines";
};
buildInputs = [ TestInter ];
};
DateSimple = buildPerlPackage {