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