2018-10-16 19:58:18 +01:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, mock
|
|
|
|
, pytest
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "flaky";
|
2018-11-04 10:34:59 +00:00
|
|
|
version = "3.4.0";
|
2018-10-16 19:58:18 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-11-04 10:34:59 +00:00
|
|
|
sha256 = "4ad7880aef8c35a34ddb394d4fa33047765bca1e3d67d182bf6eba9c8eabf3a2";
|
2018-10-16 19:58:18 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ mock pytest ];
|
|
|
|
|
|
|
|
# waiting for feedback https://github.com/box/flaky/issues/97
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|