mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-12 16:53:21 +00:00
breezy: install completions
This commit is contained in:
parent
205e19ce38
commit
95fd917f4e
@ -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" ];
|
||||
|
Loading…
Reference in New Issue
Block a user