mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 13:57:10 +03:00
taskwarrior: install zsh completion (#40454)
This commit is contained in:
parent
4c7d07c85c
commit
d71cde3198
@ -4,10 +4,8 @@ stdenv.mkDerivation rec {
|
||||
name = "taskwarrior-${version}";
|
||||
version = "2.5.1";
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.taskwarrior.org/download/task-${version}.tar.gz";
|
||||
url = "https://taskwarrior.org/download/task-${version}.tar.gz";
|
||||
sha256 = "059a9yc58wcicc6xxsjh1ph7k2yrag0spsahp1wqmsq6h7jwwyyq";
|
||||
};
|
||||
|
||||
@ -20,11 +18,13 @@ stdenv.mkDerivation rec {
|
||||
ln -s "../../doc/task/scripts/bash/task.sh" "$out/share/bash-completion/completions/task.bash"
|
||||
mkdir -p "$out/share/fish/vendor_completions.d"
|
||||
ln -s "../../../share/doc/task/scripts/fish/task.fish" "$out/share/fish/vendor_completions.d/"
|
||||
mkdir -p "$out/share/zsh/site-functions"
|
||||
ln -s "../../../share/doc/task/scripts/zsh/_task" "$out/share/zsh/site-functions/"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Highly flexible command-line tool to manage TODO lists";
|
||||
homepage = http://taskwarrior.org;
|
||||
homepage = https://taskwarrior.org;
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ marcweber jgeerds ];
|
||||
platforms = platforms.linux ++ platforms.darwin;
|
||||
|
Loading…
Reference in New Issue
Block a user