summaryrefslogtreecommitdiffstats
path: root/pkgs
diff options
context:
space:
mode:
authorfigsoda <figsoda@pm.me>2021-10-14 08:05:02 -0400
committerGitHub <noreply@github.com>2021-10-14 08:05:02 -0400
commit1a9c6b5ca7df624a81e81051f383e95af6059fb7 (patch)
tree728b56b5a0cd1938e62dea4021885681f4f22754 /pkgs
parent348c229ffa437a8fd628120f3c7c69fc11ba6799 (diff)
parent4c7bf71d8e1d75e8ef1fef7de6b9317728eb105b (diff)
Merge pull request #141307 from r-ryantm/auto-update/git-machete
git-machete: 3.3.0 -> 3.4.1
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/applications/version-management/git-and-tools/git-machete/default.nix15
1 files changed, 7 insertions, 8 deletions
diff --git a/pkgs/applications/version-management/git-and-tools/git-machete/default.nix b/pkgs/applications/version-management/git-and-tools/git-machete/default.nix
index fb5113dad089..97b96f7461f6 100644
--- a/pkgs/applications/version-management/git-and-tools/git-machete/default.nix
+++ b/pkgs/applications/version-management/git-and-tools/git-machete/default.nix
@@ -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; {