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