Merge pull request #141307 from r-ryantm/auto-update/git-machete

git-machete: 3.3.0 -> 3.4.1
This commit is contained in:
figsoda 2021-10-14 08:05:02 -04:00 committed by GitHub
commit 1a9c6b5ca7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -11,13 +11,13 @@
buildPythonApplication rec {
pname = "git-machete";
version = "3.3.0";
version = "3.4.1";
src = fetchFromGitHub {
owner = "virtuslab";
repo = pname;
rev = "v${version}";
sha256 = "0sx45y1d1v6y66msjc1lw9jhjppgbxqj145kivmd7lr6ccw68kav";
sha256 = "sha256-drfMD9tQe1dc61MH3Cxu9oin137f4FsZJY3X2kDHdh4=";
};
nativeBuildInputs = [ installShellFiles ];
@ -33,16 +33,15 @@ buildPythonApplication rec {
installShellCompletion --zsh --name _git-machete completion/git-machete.completion.zsh
'';
postInstallCheck = ''
git init
test "$($out/bin/git-machete version)" = "git-machete version ${version}"
'';
passthru = {
updateScript = nix-update-script {
attrPath = pname;
};
tests = {
version = testVersion {
package = git-machete;
};
};
};
meta = with lib; {