nixpkgs/pkgs/development/python-modules/pytest-rerunfailures/default.nix
Jascha Geerds ffedc3e4a9 misc: Remove myself from list of maintainers
Unfortunately I don't have the time anymore to maintain those
packages.
2019-03-12 23:50:52 +01:00

27 lines
655 B
Nix

{ stdenv, buildPythonPackage, fetchPypi, pytest, mock }:
buildPythonPackage rec {
pname = "pytest-rerunfailures";
version = "6.0";
src = fetchPypi {
inherit pname version;
sha256 = "978349ae00687504fd0f9d0970c37199ccd89cbdb0cb8c4ed7ee417ede582b40";
};
checkInputs = [ mock ];
propagatedBuildInputs = [ pytest ];
checkPhase = ''
py.test test_pytest_rerunfailures.py
'';
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; [ ];
};
}