2018-08-08 21:32:52 +02:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, setuptools_scm
|
|
|
|
, pytest
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pytest-repeat";
|
2018-11-09 05:24:09 +01:00
|
|
|
version = "0.7.0";
|
2018-08-08 21:32:52 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-11-09 05:24:09 +01:00
|
|
|
sha256 = "0axbrpqal3cqw9zq6dakdbg49pnf5gvyvq6yn93hp1ayc7fnhzk3";
|
2018-08-08 21:32:52 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ setuptools_scm pytest ];
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
py.test
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Pytest plugin for repeating tests";
|
|
|
|
homepage = https://github.com/pytest-dev/pytest-repeat;
|
|
|
|
maintainers = with lib.maintainers; [ costrouc ];
|
|
|
|
license = lib.licenses.mpl20;
|
|
|
|
};
|
|
|
|
}
|