2018-08-08 19:32:52 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2021-06-03 10:09:11 +00:00
|
|
|
, setuptools-scm
|
2018-08-08 19:32:52 +00:00
|
|
|
, pytest
|
2019-01-03 23:56:45 +00:00
|
|
|
, fetchpatch
|
2018-08-08 19:32:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pytest-repeat";
|
2020-11-29 14:04:39 +00:00
|
|
|
version = "0.9.1";
|
2018-08-08 19:32:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-11-29 14:04:39 +00:00
|
|
|
sha256 = "5cd3289745ab3156d43eb9c8e7f7d00a926f3ae5c9cf425bec649b2fe15bad5b";
|
2018-08-08 19:32:52 +00:00
|
|
|
};
|
|
|
|
|
2019-07-25 15:04:22 +00:00
|
|
|
nativeBuildInputs = [
|
2021-06-03 10:09:11 +00:00
|
|
|
setuptools-scm
|
2019-01-03 23:56:45 +00:00
|
|
|
];
|
|
|
|
|
2019-07-25 15:04:22 +00:00
|
|
|
checkInputs = [
|
|
|
|
pytest
|
|
|
|
];
|
2018-08-08 19:32:52 +00:00
|
|
|
|
|
|
|
checkPhase = ''
|
2019-07-25 15:04:22 +00:00
|
|
|
pytest
|
2018-08-08 19:32:52 +00:00
|
|
|
'';
|
|
|
|
|
2019-07-25 15:04:22 +00:00
|
|
|
meta = with lib; {
|
2018-08-08 19:32:52 +00:00
|
|
|
description = "Pytest plugin for repeating tests";
|
2019-07-25 15:04:22 +00:00
|
|
|
homepage = "https://github.com/pytest-dev/pytest-repeat";
|
|
|
|
license = licenses.mpl20;
|
|
|
|
maintainers = with maintainers; [ costrouc ];
|
2018-08-08 19:32:52 +00:00
|
|
|
};
|
|
|
|
}
|