2014-10-26 02:08:00 +01:00
|
|
|
{ stdenv, fetchurl, cmake, libuuid, gnutls }:
|
2011-12-29 23:14:08 +01:00
|
|
|
|
2013-04-08 05:58:23 +02:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "taskwarrior-${version}";
|
2016-02-25 15:49:37 +01:00
|
|
|
version = "2.5.1";
|
2011-12-29 23:14:08 +01:00
|
|
|
|
2012-10-11 08:50:53 +02:00
|
|
|
enableParallelBuilding = true;
|
2012-06-22 14:51:41 +02:00
|
|
|
|
2012-10-11 08:50:53 +02:00
|
|
|
src = fetchurl {
|
2013-04-08 05:58:23 +02:00
|
|
|
url = "http://www.taskwarrior.org/download/task-${version}.tar.gz";
|
2016-02-25 15:49:37 +01:00
|
|
|
sha256 = "059a9yc58wcicc6xxsjh1ph7k2yrag0spsahp1wqmsq6h7jwwyyq";
|
2012-06-22 14:51:41 +02:00
|
|
|
};
|
|
|
|
|
2014-10-26 02:08:00 +01:00
|
|
|
nativeBuildInputs = [ cmake libuuid gnutls ];
|
2012-06-22 14:51:41 +02:00
|
|
|
|
2015-01-18 14:13:53 +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 08:25:07 +02:00
|
|
|
meta = with stdenv.lib; {
|
2012-10-11 08:50:53 +02:00
|
|
|
description = "GTD (getting things done) implementation";
|
|
|
|
homepage = http://taskwarrior.org;
|
2015-06-22 08:25:07 +02:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ marcweber jgeerds ];
|
2016-06-05 20:10:53 +02:00
|
|
|
platforms = platforms.linux ++ platforms.darwin;
|
2011-12-29 23:14:08 +01:00
|
|
|
};
|
|
|
|
}
|