3
0
Fork 0
forked from mirrors/nixpkgs

tmuxp: Add pytest-rerunfailures to dependencies

(cherry picked from commit 6fc67944bf8a9841b649c8d36f852ce65bbae0e1)
(cherry picked from commit f0d1ac6062)
This commit is contained in:
Jascha Geerds 2016-09-10 12:20:39 +02:00 committed by Joachim Fasting
parent a514bf604c
commit deb59785b0
No known key found for this signature in database
GPG key ID: 7544761007FE4E08

View file

@ -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