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

25 lines
626 B
Nix
Raw Normal View History

{ stdenv, fetchurl, cmake }:
2016-04-01 09:46:48 +02:00
stdenv.mkDerivation rec {
name = "timewarrior-${version}";
2018-02-21 02:18:52 +01:00
version = "1.1.1";
2016-04-01 09:46:48 +02:00
enableParallelBuilding = true;
src = fetchurl {
url = "https://taskwarrior.org/download/timew-${version}.tar.gz";
2018-02-21 02:18:52 +01:00
sha256 = "1jfcfzdwk5qqhxznj1bgy0sx3lnp3z5lqr9kch9a7iazwmi9lz8z";
2016-04-01 09:46:48 +02:00
};
nativeBuildInputs = [ cmake ];
meta = with stdenv.lib; {
description = "A command-line time tracker";
homepage = https://tasktools.org/projects/timewarrior.html;
2016-04-01 09:46:48 +02:00
license = licenses.mit;
maintainers = with maintainers; [ mrVanDalo ];
2018-03-13 17:30:51 +01:00
platforms = platforms.linux ++ platforms.darwin;
2016-04-01 09:46:48 +02:00
};
}