1 { lib, buildPythonPackage, pythonOlder, fetchPypi, pytest, mock }:
3 buildPythonPackage rec {
4 pname = "pytest-rerunfailures";
7 disabled = pythonOlder "3.5";
10 inherit pname version;
11 sha256 = "9e1e1bad51e07642c5bbab809fc1d4ec8eebcb7de86f90f1a26e6ef9de446697";
14 buildInputs = [ pytest ];
16 checkInputs = [ mock pytest ];
19 py.test test_pytest_rerunfailures.py
23 description = "Pytest plugin to re-run tests to eliminate flaky failures";
24 homepage = "https://github.com/pytest-dev/pytest-rerunfailures";
25 license = licenses.mpl20;
26 maintainers = with maintainers; [ das-g ];