From deb59785b080ee720ba30d7add66013aec3e4930 Mon Sep 17 00:00:00 2001 From: Jascha Geerds Date: Sat, 10 Sep 2016 12:20:39 +0200 Subject: [PATCH] tmuxp: Add pytest-rerunfailures to dependencies (cherry picked from commit 6fc67944bf8a9841b649c8d36f852ce65bbae0e1) (cherry picked from commit f0d1ac606232a02771343f6ad84d4c769ae2ad54) --- pkgs/tools/misc/tmuxp/default.nix | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/pkgs/tools/misc/tmuxp/default.nix b/pkgs/tools/misc/tmuxp/default.nix index 91a55694f853..1f1ec0437f86 100644 --- a/pkgs/tools/misc/tmuxp/default.nix +++ b/pkgs/tools/misc/tmuxp/default.nix @@ -11,7 +11,17 @@ pythonPackages.buildPythonApplication rec { sha256 = "05z5ssv9glsqmcy9fdq06bawy1274dnzqsqd3a4z4jd0w6j09smn"; }; - buildInputs = with pythonPackages; [ pytest ]; + patchPhase = '' + # Dependencies required for testing shouldn't pinned to + # a specific version. + substituteInPlace requirements/test.txt \ + --replace "==" ">=" + ''; + + buildInputs = with pythonPackages; [ + pytest + pytest-rerunfailures + ]; propagatedBuildInputs = with pythonPackages; [ click colorama kaptan libtmux