Skip to content

Commit

Permalink
python312Packages.clustershell: install shell completion files
Browse files Browse the repository at this point in the history
Available since version 1.9.3.
  • Loading branch information
bjornfor committed Jan 31, 2025
1 parent b2cd3eb commit c6ad98f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pkgs/development/python-modules/clustershell/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
pyyaml,
openssh,
unittestCheckHook,
installShellFiles,
bc,
hostname,
bash,
Expand Down Expand Up @@ -51,6 +52,8 @@ buildPythonPackage rec {

propagatedBuildInputs = [ pyyaml ];

nativeBuildInputs = [ installShellFiles ];

nativeCheckInputs = [
bc
hostname
Expand Down Expand Up @@ -80,6 +83,10 @@ buildPythonPackage rec {
rm tests/TreeGatewayTest.py
'';

postInstall = ''
installShellCompletion --bash bash_completion.d/*
'';

meta = with lib; {
broken = stdenv.hostPlatform.isDarwin;
description = "Scalable Python framework for cluster administration";
Expand Down

0 comments on commit c6ad98f

Please sign in to comment.