1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-22 06:05:13 +00:00
nixpkgs/pkgs/applications/misc/taskwarrior/default.nix

29 lines
807 B
Nix
Raw Normal View History

2014-10-26 01:08:00 +00:00
{ stdenv, fetchurl, cmake, libuuid, gnutls }:
stdenv.mkDerivation rec {
name = "taskwarrior-${version}";
2016-02-25 14:49:37 +00:00
version = "2.5.1";
enableParallelBuilding = true;
2012-06-22 13:51:41 +01:00
src = fetchurl {
url = "http://www.taskwarrior.org/download/task-${version}.tar.gz";
2016-02-25 14:49:37 +00:00
sha256 = "059a9yc58wcicc6xxsjh1ph7k2yrag0spsahp1wqmsq6h7jwwyyq";
2012-06-22 13:51:41 +01:00
};
2014-10-26 01:08:00 +00:00
nativeBuildInputs = [ cmake libuuid gnutls ];
2012-06-22 13:51:41 +01:00
postInstall = ''
mkdir -p "$out/etc/bash_completion.d"
ln -s "../../share/doc/task/scripts/bash/task.sh" "$out/etc/bash_completion.d/"
'';
2015-06-22 07:25:07 +01:00
meta = with stdenv.lib; {
description = "GTD (getting things done) implementation";
homepage = http://taskwarrior.org;
2015-06-22 07:25:07 +01:00
license = licenses.mit;
maintainers = with maintainers; [ marcweber jgeerds ];
2016-06-05 19:10:53 +01:00
platforms = platforms.linux ++ platforms.darwin;
};
}