2021-01-10 23:54:33 -08:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake }:
|
2016-04-01 00:46:48 -07:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 05:41:18 -07:00
|
|
|
pname = "timewarrior";
|
2020-09-02 08:52:48 -07:00
|
|
|
version = "1.4.2";
|
2016-04-01 00:46:48 -07:00
|
|
|
|
2019-11-24 05:42:09 -08:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "GothenburgBitFactory";
|
|
|
|
repo = "timewarrior";
|
|
|
|
rev = "v${version}";
|
2020-09-02 08:52:48 -07:00
|
|
|
sha256 = "0qvhpva0hmhybn0c2aajndw5vnxar1jw4pjjajd2k2cr6vax29dw";
|
2019-11-24 05:42:09 -08:00
|
|
|
fetchSubmodules = true;
|
2016-04-01 00:46:48 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
2021-01-10 23:54:33 -08:00
|
|
|
meta = with lib; {
|
2016-04-01 00:46:48 -07:00
|
|
|
description = "A command-line time tracker";
|
2020-03-03 00:50:50 -08:00
|
|
|
homepage = "https://timewarrior.net";
|
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
|
|
|
};
|
|
|
|
}
|
|
|
|
|