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