Merge pull request #160223 from VirtusLab/chore/update-git-machete

git-machete: updates to 3.7.2
This commit is contained in:
Jacek Galowicz 2022-03-10 11:42:13 +01:00 committed by GitHub
commit 9a5d5408aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,7 +3,6 @@
, fetchFromGitHub
, installShellFiles
, git
, stestr
, nix-update-script
, testVersion
, git-machete
@ -22,19 +21,15 @@ buildPythonApplication rec {
nativeBuildInputs = [ installShellFiles ];
checkInputs = [ git stestr ];
postCheck = ''
stestr run
'';
checkInputs = [ git ];
postInstall = ''
installShellCompletion --bash --name git-machete completion/git-machete.completion.bash
installShellCompletion --zsh --name _git-machete completion/git-machete.completion.zsh
installShellCompletion --fish completion/git-machete.fish
'';
postInstallCheck = ''
git init
test "$($out/bin/git-machete version)" = "git-machete version ${version}"
'';