2018-07-21 01:44:44 +01:00
|
|
|
{ stdenv, fetchurl, cmake }:
|
2016-04-01 08:46:48 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "timewarrior-${version}";
|
2018-02-21 01:18:52 +00:00
|
|
|
version = "1.1.1";
|
2016-04-01 08:46:48 +01:00
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2016-06-21 19:56:07 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = "https://taskwarrior.org/download/timew-${version}.tar.gz";
|
2018-02-21 01:18:52 +00:00
|
|
|
sha256 = "1jfcfzdwk5qqhxznj1bgy0sx3lnp3z5lqr9kch9a7iazwmi9lz8z";
|
2016-04-01 08:46:48 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A command-line time tracker";
|
2018-09-01 23:23:23 +01:00
|
|
|
homepage = https://taskwarrior.org/docs/timewarrior;
|
2016-04-01 08:46:48 +01:00
|
|
|
license = licenses.mit;
|
2018-04-06 09:57:19 +01:00
|
|
|
maintainers = with maintainers; [ mrVanDalo ];
|
2018-03-13 16:30:51 +00:00
|
|
|
platforms = platforms.linux ++ platforms.darwin;
|
2016-04-01 08:46:48 +01:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|