2018-08-08 20:32:52 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, setuptools_scm
|
|
|
|
, pytest
|
2019-01-03 23:56:45 +00:00
|
|
|
, fetchpatch
|
2018-08-08 20:32:52 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pytest-repeat";
|
2019-07-25 16:04:22 +01:00
|
|
|
version = "0.8.0";
|
2018-08-08 20:32:52 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-07-25 16:04:22 +01:00
|
|
|
sha256 = "1nbdmklpi0ra1jnfm032wz96y9nxdlcr4m9sjlnffwm7n4x43g2j";
|
2018-08-08 20:32:52 +01:00
|
|
|
};
|
|
|
|
|
2019-07-25 16:04:22 +01:00
|
|
|
nativeBuildInputs = [
|
|
|
|
setuptools_scm
|
2019-01-03 23:56:45 +00:00
|
|
|
];
|
|
|
|
|
2019-07-25 16:04:22 +01:00
|
|
|
checkInputs = [
|
|
|
|
pytest
|
|
|
|
];
|
2018-08-08 20:32:52 +01:00
|
|
|
|
|
|
|
checkPhase = ''
|
2019-07-25 16:04:22 +01:00
|
|
|
pytest
|
2018-08-08 20:32:52 +01:00
|
|
|
'';
|
|
|
|
|
2019-07-25 16:04:22 +01:00
|
|
|
meta = with lib; {
|
2018-08-08 20:32:52 +01:00
|
|
|
description = "Pytest plugin for repeating tests";
|
2019-07-25 16:04:22 +01:00
|
|
|
homepage = "https://github.com/pytest-dev/pytest-repeat";
|
|
|
|
license = licenses.mpl20;
|
|
|
|
maintainers = with maintainers; [ costrouc ];
|
2018-08-08 20:32:52 +01:00
|
|
|
};
|
|
|
|
}
|