diff options
Diffstat (limited to 'nixpkgs/pkgs/tools/networking/ytcc/default.nix')
-rw-r--r-- | nixpkgs/pkgs/tools/networking/ytcc/default.nix | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/nixpkgs/pkgs/tools/networking/ytcc/default.nix b/nixpkgs/pkgs/tools/networking/ytcc/default.nix index ccd6009a6aa0..4cbcc3d48f2d 100644 --- a/nixpkgs/pkgs/tools/networking/ytcc/default.nix +++ b/nixpkgs/pkgs/tools/networking/ytcc/default.nix @@ -2,13 +2,14 @@ python3Packages.buildPythonApplication rec { pname = "ytcc"; - version = "2.6.0"; + version = "2.6.1"; + format = "pyproject"; src = fetchFromGitHub { owner = "woefe"; repo = "ytcc"; rev = "v${version}"; - sha256 = "sha256-NTG7CtmlJzrhgr/JRSQ1jjSpJEm+PlF67PlEbPNihFE="; + sha256 = "sha256-pC2uoog+nev/Xa6UbXX4vX00VQQLHtZzbVkxrxO/Pg8="; }; nativeBuildInputs = [ gettext installShellFiles ]; @@ -19,7 +20,7 @@ python3Packages.buildPythonApplication rec { wcwidth ]; - checkInputs = with python3Packages; [ nose pytestCheckHook ]; + nativeCheckInputs = with python3Packages; [ nose pytestCheckHook ]; # Disable tests that touch network or shell out to commands disabledTests = [ @@ -37,6 +38,10 @@ python3Packages.buildPythonApplication rec { postInstall = '' installManPage doc/ytcc.1 + installShellCompletion --cmd ytcc \ + --bash scripts/completions/bash/ytcc.completion.sh \ + --fish scripts/completions/fish/ytcc.fish \ + --zsh scripts/completions/zsh/_ytcc ''; meta = { |