1{ stdenv, fetchurl, autoreconfHook, tzdata }:
2
3stdenv.mkDerivation rec {
4 version = "0.4.5";
5 name = "dateutils-${version}";
6
7 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;
17
18 meta = with stdenv.lib; {
19 description = "A bunch of tools that revolve around fiddling with dates and times in the command line";
20 homepage = http://www.fresse.org/dateutils/;
21 license = licenses.bsd3;
22 platforms = platforms.linux;
23 maintainers = [ maintainers.paperdigits ];
24 };
25}