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

26 lines
631 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, cmake }:
2016-04-01 09:46:48 +02:00
stdenv.mkDerivation rec {
pname = "timewarrior";
2020-09-02 17:52:48 +02:00
version = "1.4.2";
2016-04-01 09:46:48 +02:00
src = fetchFromGitHub {
owner = "GothenburgBitFactory";
repo = "timewarrior";
rev = "v${version}";
2020-09-02 17:52:48 +02:00
sha256 = "0qvhpva0hmhybn0c2aajndw5vnxar1jw4pjjajd2k2cr6vax29dw";
fetchSubmodules = true;
2016-04-01 09:46:48 +02:00
};
nativeBuildInputs = [ cmake ];
meta = with lib; {
2016-04-01 09:46:48 +02:00
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
};
}