taskwarrior-tui: install completions and manpage
This commit is contained in:
parent
ee7bc6209d
commit
c94a435e94
@ -1,6 +1,7 @@
|
||||
{ lib
|
||||
, rustPlatform
|
||||
, fetchFromGitHub
|
||||
, installShellFiles
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
@ -14,11 +15,18 @@ rustPlatform.buildRustPackage rec {
|
||||
sha256 = "sha256-D7+C02VlE42wWQSOkeTJVDS4rWnGB06RTZ7tzdpYmZw=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
# Because there's a test that requires terminal access
|
||||
doCheck = false;
|
||||
|
||||
cargoSha256 = "sha256-b+bncWx7Z4GG2vwImRYeywc77THGMYVXlm4v/9YKCMI=";
|
||||
|
||||
postInstall = ''
|
||||
installManPage docs/taskwarrior-tui.1
|
||||
installShellCompletion completions/taskwarrior-tui.{bash,fish} --zsh completions/_taskwarrior-tui
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A terminal user interface for taskwarrior ";
|
||||
homepage = "https://github.com/kdheepak/taskwarrior-tui";
|
||||
|
Loading…
Reference in New Issue
Block a user