2012-06-22 12:51:41 +00:00
|
|
|
{ stdenv, fetchurl, cmake, lua5 }:
|
2011-12-29 22:14:08 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2012-06-22 12:51:41 +00:00
|
|
|
name = "task-warrior-2.0.0";
|
2011-12-29 22:14:08 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2012-06-22 12:51:41 +00:00
|
|
|
url = http://www.taskwarrior.org/download/task-2.0.0.tar.gz;
|
|
|
|
sha256 = "1gbmcynj2n2c9dcykxn27ffk034mvm0zri5hqhfdx593dhv1x5vq";
|
2011-12-29 22:14:08 +00:00
|
|
|
};
|
|
|
|
|
2012-06-22 12:51:41 +00:00
|
|
|
NIX_LDFLAGS = "-ldl";
|
|
|
|
|
|
|
|
buildNativeInputs = [ cmake ];
|
|
|
|
buildInputs = [ lua5 ];
|
|
|
|
|
|
|
|
crossAttrs = {
|
|
|
|
preConfigure = ''
|
|
|
|
export NIX_CROSS_LDFLAGS="$NIX_CROSS_LDFLAGS -ldl"
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2011-12-29 22:14:08 +00:00
|
|
|
meta = {
|
|
|
|
description = "Command-line todo list manager";
|
|
|
|
homepage = http://taskwarrior.org/;
|
2011-12-29 22:28:22 +00:00
|
|
|
license = "GPLv2+";
|
2011-12-29 22:14:08 +00:00
|
|
|
};
|
|
|
|
}
|