pytest-rerunfailures: 2.0.1 -> 4.0

This commit is contained in:
Elis Hirwing
2018-01-09 18:08:02 +01:00
parent d6bf8eb71b
commit c7eadc3ce9
2 changed files with 27 additions and 24 deletions

View File

@@ -0,0 +1,26 @@
{ stdenv, buildPythonPackage, fetchPypi, pytest, mock }:
buildPythonPackage rec {
name = "${pname}-${version}";
pname = "pytest-rerunfailures";
version = "4.0";
src = fetchPypi {
inherit pname version;
sha256 = "18lpy6d9b4ck8j3jwh4vmxj54is0fwanpmpg70qg4y0fycdqzwks";
};
buildInputs = [ pytest mock ];
checkPhase = ''
py.test
'';
meta = with stdenv.lib; {
description = "pytest plugin to re-run tests to eliminate flaky failures.";
homepage = https://github.com/pytest-dev/pytest-rerunfailures;
license = licenses.mpl20;
maintainers = with maintainers; [ jgeerds ];
platforms = platforms.all;
};
}