mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
Updating taskwarrior.
This commit is contained in:
parent
2057d7b14b
commit
d13e682491
@ -1,13 +1,26 @@
|
||||
{ stdenv, fetchurl }:
|
||||
{ stdenv, fetchurl, cmake, lua5 }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "task-warrior-1.9.4";
|
||||
name = "task-warrior-2.0.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = http://www.taskwarrior.org/download/task-1.9.4.tar.gz;
|
||||
sha256 = "0jnk30k1b2j3nx39il70jmj6p49wxp6cl4awd8hw71gqkcf6480h";
|
||||
url = http://www.taskwarrior.org/download/task-2.0.0.tar.gz;
|
||||
sha256 = "1gbmcynj2n2c9dcykxn27ffk034mvm0zri5hqhfdx593dhv1x5vq";
|
||||
};
|
||||
|
||||
NIX_LDFLAGS = "-ldl";
|
||||
|
||||
buildNativeInputs = [ cmake ];
|
||||
buildInputs = [ lua5 ];
|
||||
|
||||
crossAttrs = {
|
||||
preConfigure = ''
|
||||
export NIX_CROSS_LDFLAGS="$NIX_CROSS_LDFLAGS -ldl"
|
||||
'';
|
||||
};
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = {
|
||||
description = "Command-line todo list manager";
|
||||
homepage = http://taskwarrior.org/;
|
||||
|
Loading…
Reference in New Issue
Block a user