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

28 lines
667 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, cmake }:
2016-04-01 09:46:48 +02:00
stdenv.mkDerivation rec {
pname = "timewarrior";
version = "1.3.0";
2016-04-01 09:46:48 +02:00
enableParallelBuilding = true;
src = fetchFromGitHub {
owner = "GothenburgBitFactory";
repo = "timewarrior";
rev = "v${version}";
sha256 = "1aijh1ad7gpa61cn7b57w24vy7fyjj0zx5k9z8d6m1ldzbw589cl";
fetchSubmodules = true;
2016-04-01 09:46:48 +02:00
};
nativeBuildInputs = [ cmake ];
meta = with stdenv.lib; {
description = "A command-line time tracker";
homepage = "https://timewarrior.net";
2016-04-01 09:46:48 +02:00
license = licenses.mit;
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
};
}