···1-{ stdenv, fetchurl }:
23stdenv.mkDerivation rec {
4- version = "0.4.4";
5 name = "dateutils-${version}";
67 src = fetchurl {
8 url = "https://bitbucket.org/hroptatyr/dateutils/downloads/${name}.tar.xz";
9- sha256 = "0ky8177is4swgxfqczc78d7yjc13w626k515qw517086n7xjxk59";
10 };
0000001112 meta = with stdenv.lib; {
13 description = "A bunch of tools that revolve around fiddling with dates and times in the command line";
···1+{ stdenv, fetchurl, autoreconfHook, tzdata }:
23stdenv.mkDerivation rec {
4+ version = "0.4.5";
5 name = "dateutils-${version}";
67 src = fetchurl {
8 url = "https://bitbucket.org/hroptatyr/dateutils/downloads/${name}.tar.xz";
9+ sha256 = "1pnbc186mnvmyb5rndm0ym50sjihsy6m6crz62xxsjbxggza1mhn";
10 };
11+12+ nativeBuildInputs = [ autoreconfHook ];
13+ buildInputs = [ tzdata ]; # needed for datezone
14+ enableParallelBuilding = true;
15+16+ doCheck = true;
1718 meta = with stdenv.lib; {
19 description = "A bunch of tools that revolve around fiddling with dates and times in the command line";