From e83884a9e9ce88e98ea4f35354ffffd1368a4ba1 Mon Sep 17 00:00:00 2001 From: Pawel Lipski Date: Wed, 27 Apr 2022 18:54:28 +0200 Subject: [PATCH 1/2] git-machete: updates to 3.9.0 --- .../version-management/git-and-tools/git-machete/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 6b6da70bb94..792dee051fd 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 @@ -1,5 +1,6 @@ { lib , buildPythonApplication +, pytest , fetchFromGitHub , installShellFiles , git @@ -21,7 +22,7 @@ buildPythonApplication rec { nativeBuildInputs = [ installShellFiles ]; - checkInputs = [ git ]; + checkInputs = [ git pytest ]; postInstall = '' installShellCompletion --bash --name git-machete completion/git-machete.completion.bash From 58fb27e4a11eb48de5250bb8af3744ec6fd41330 Mon Sep 17 00:00:00 2001 From: Pawel Lipski Date: Wed, 4 May 2022 15:16:26 +0200 Subject: [PATCH 2/2] git-machete: add pytest-mock and pytestCheckHook to checkInputs --- .../version-management/git-and-tools/git-machete/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 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 792dee051fd..4f774f5b2f4 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 @@ -1,6 +1,7 @@ { lib , buildPythonApplication -, pytest +, pytest-mock +, pytestCheckHook , fetchFromGitHub , installShellFiles , git @@ -22,7 +23,7 @@ buildPythonApplication rec { nativeBuildInputs = [ installShellFiles ]; - checkInputs = [ git pytest ]; + checkInputs = [ git pytest-mock pytestCheckHook ]; postInstall = '' installShellCompletion --bash --name git-machete completion/git-machete.completion.bash