nixpkgs/pkgs/applications/misc/timewarrior/default.nix
Matthias Beyer cf38a146fd timewarrior: 1.1.1 -> 1.2.0
Switch to fetch sources from github.

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
CC: Sampo Sorsa <sorsasampo@protonmail.com>
CC: Ingolf Wanger <contact@ingolf-wagner.de>
2019-11-24 14:43:49 +01:00

28 lines
682 B
Nix

{ stdenv, fetchFromGitHub, cmake }:
stdenv.mkDerivation rec {
pname = "timewarrior";
version = "1.2.0";
enableParallelBuilding = true;
src = fetchFromGitHub {
owner = "GothenburgBitFactory";
repo = "timewarrior";
rev = "v${version}";
sha256 = "0ci8kb7gdp1dsv6xj30nbz8lidrmn50pbriw26wv8mdhs17rfk7w";
fetchSubmodules = true;
};
nativeBuildInputs = [ cmake ];
meta = with stdenv.lib; {
description = "A command-line time tracker";
homepage = https://taskwarrior.org/docs/timewarrior;
license = licenses.mit;
maintainers = with maintainers; [ matthiasbeyer mrVanDalo ];
platforms = platforms.linux ++ platforms.darwin;
};
}