mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 08:31:59 +00:00
29 lines
787 B
Nix
29 lines
787 B
Nix
{ stdenv, fetchurl, cmake, libuuid, gnutls }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "taskwarrior-${version}";
|
|
version = "2.5.1";
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
src = fetchurl {
|
|
url = "http://www.taskwarrior.org/download/task-${version}.tar.gz";
|
|
sha256 = "059a9yc58wcicc6xxsjh1ph7k2yrag0spsahp1wqmsq6h7jwwyyq";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake libuuid gnutls ];
|
|
|
|
postInstall = ''
|
|
mkdir -p "$out/etc/bash_completion.d"
|
|
ln -s "../../share/doc/task/scripts/bash/task.sh" "$out/etc/bash_completion.d/"
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "GTD (getting things done) implementation";
|
|
homepage = http://taskwarrior.org;
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ marcweber jgeerds ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|