nixpkgs/pkgs/applications/misc/timewarrior/default.nix

28 lines
682 B
Nix
Raw Normal View History

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