forked from mirrors/nixpkgs
Merge pull request #160223 from VirtusLab/chore/update-git-machete
git-machete: updates to 3.7.2
This commit is contained in:
commit
9a5d5408aa
|
@ -3,7 +3,6 @@
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, installShellFiles
|
, installShellFiles
|
||||||
, git
|
, git
|
||||||
, stestr
|
|
||||||
, nix-update-script
|
, nix-update-script
|
||||||
, testVersion
|
, testVersion
|
||||||
, git-machete
|
, git-machete
|
||||||
|
@ -22,19 +21,15 @@ buildPythonApplication rec {
|
||||||
|
|
||||||
nativeBuildInputs = [ installShellFiles ];
|
nativeBuildInputs = [ installShellFiles ];
|
||||||
|
|
||||||
checkInputs = [ git stestr ];
|
checkInputs = [ git ];
|
||||||
|
|
||||||
postCheck = ''
|
|
||||||
stestr run
|
|
||||||
'';
|
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
installShellCompletion --bash --name git-machete completion/git-machete.completion.bash
|
installShellCompletion --bash --name git-machete completion/git-machete.completion.bash
|
||||||
installShellCompletion --zsh --name _git-machete completion/git-machete.completion.zsh
|
installShellCompletion --zsh --name _git-machete completion/git-machete.completion.zsh
|
||||||
|
installShellCompletion --fish completion/git-machete.fish
|
||||||
'';
|
'';
|
||||||
|
|
||||||
postInstallCheck = ''
|
postInstallCheck = ''
|
||||||
git init
|
|
||||||
test "$($out/bin/git-machete version)" = "git-machete version ${version}"
|
test "$($out/bin/git-machete version)" = "git-machete version ${version}"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue