python312Packages.clustershell: install shell completion files
Available since version 1.9.3.
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user