mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 06:33:42 +00:00
bc14a2213c
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
28 lines
667 B
Nix
28 lines
667 B
Nix
{ stdenv, fetchFromGitHub, cmake }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "timewarrior";
|
|
version = "1.3.0";
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "GothenburgBitFactory";
|
|
repo = "timewarrior";
|
|
rev = "v${version}";
|
|
sha256 = "1aijh1ad7gpa61cn7b57w24vy7fyjj0zx5k9z8d6m1ldzbw589cl";
|
|
fetchSubmodules = true;
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "A command-line time tracker";
|
|
homepage = "https://timewarrior.net";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ matthiasbeyer mrVanDalo ];
|
|
platforms = platforms.linux ++ platforms.darwin;
|
|
};
|
|
}
|
|
|