1{ stdenv
2, buildPythonPackage
3, fetchPypi
4, mock
5, pytest
6}:
7
8buildPythonPackage rec {
9 pname = "flaky";
10 version = "3.5.3";
11
12 src = fetchPypi {
13 inherit pname version;
14 sha256 = "12bd5e41f372b2190e8d754b6e5829c2f11dbc764e10b30f57e59f829c9ca1da";
15 };
16
17 buildInputs = [ mock pytest ];
18
19 # waiting for feedback https://github.com/box/flaky/issues/97
20 doCheck = false;
21
22 meta = with stdenv.lib; {
23 homepage = https://github.com/box/flaky;
24 description = "Plugin for nose or py.test that automatically reruns flaky tests";
25 license = licenses.asl20;
26 };
27
28}