2019-11-24 05:42:09 -08:00
|
|
|
{ stdenv, fetchFromGitHub, cmake }:
|
2016-04-01 00:46:48 -07:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 05:41:18 -07:00
|
|
|
pname = "timewarrior";
|
2019-11-24 05:42:09 -08:00
|
|
|
version = "1.2.0";
|
2016-04-01 00:46:48 -07:00
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2019-11-24 05:42:09 -08:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "GothenburgBitFactory";
|
|
|
|
repo = "timewarrior";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "0ci8kb7gdp1dsv6xj30nbz8lidrmn50pbriw26wv8mdhs17rfk7w";
|
|
|
|
fetchSubmodules = true;
|
2016-04-01 00:46:48 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A command-line time tracker";
|
2018-09-01 15:23:23 -07:00
|
|
|
homepage = https://taskwarrior.org/docs/timewarrior;
|
2016-04-01 00:46:48 -07:00
|
|
|
license = licenses.mit;
|
2019-02-20 10:52:48 -08:00
|
|
|
maintainers = with maintainers; [ matthiasbeyer mrVanDalo ];
|
2018-03-13 09:30:51 -07:00
|
|
|
platforms = platforms.linux ++ platforms.darwin;
|
2016-04-01 00:46:48 -07:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|