python312Packages.clustershell: install shell completion files

Available since version 1.9.3.
This commit is contained in:
Bjørn Forsman
2025-01-31 18:07:36 +01:00
parent b2cd3eb319
commit c6ad98f23a
@@ -8,6 +8,7 @@
pyyaml,
openssh,
unittestCheckHook,
installShellFiles,
bc,
hostname,
bash,
@@ -51,6 +52,8 @@ buildPythonPackage rec {
propagatedBuildInputs = [ pyyaml ];
nativeBuildInputs = [ installShellFiles ];
nativeCheckInputs = [
bc
hostname
@@ -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";