breezy: install completions

This commit is contained in:
Mario Rodas 2022-04-30 04:20:00 +00:00
parent 205e19ce38
commit 95fd917f4e

View File

@ -9,6 +9,7 @@
, launchpadlib
, testtools
, pythonOlder
, installShellFiles
}:
buildPythonPackage rec {
@ -22,6 +23,8 @@ buildPythonPackage rec {
sha256 = "sha256-GHpuRSCN0F2BdQc2cgyDcQz0gJT1R+xAgcVxJZVZpNU=";
};
nativeBuildInputs = [ installShellFiles ];
propagatedBuildInputs = [
configobj
fastbencode
@ -39,6 +42,8 @@ buildPythonPackage rec {
# symlink for bazaar compatibility
postInstall = ''
ln -s "$out/bin/brz" "$out/bin/bzr"
installShellCompletion --cmd brz --bash contrib/bash/brz
'';
pythonImportsCheck = [ "breezy" ];