2018-10-16 19:58:18 +01:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, mock
|
|
|
|
, pytest
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "flaky";
|
2019-09-16 18:22:01 +01:00
|
|
|
version = "3.5.3";
|
2018-10-16 19:58:18 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-09-16 18:22:01 +01:00
|
|
|
sha256 = "12bd5e41f372b2190e8d754b6e5829c2f11dbc764e10b30f57e59f829c9ca1da";
|
2018-10-16 19:58:18 +01:00
|
|
|
};
|
|
|
|
|
2019-09-16 18:22:01 +01:00
|
|
|
buildInputs = [ mock pytest ];
|
2018-10-16 19:58:18 +01:00
|
|
|
|
2019-09-16 18:22:01 +01:00
|
|
|
# waiting for feedback https://github.com/box/flaky/issues/97
|
|
|
|
doCheck = false;
|
2018-10-16 19:58:18 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://github.com/box/flaky;
|
|
|
|
description = "Plugin for nose or py.test that automatically reruns flaky tests";
|
|
|
|
license = licenses.asl20;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|