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";
|
2020-11-29 14:04:39 +00:00
|
|
|
version = "0.9.1";
|
2018-08-08 20:32:52 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-11-29 14:04:39 +00:00
|
|
|
sha256 = "5cd3289745ab3156d43eb9c8e7f7d00a926f3ae5c9cf425bec649b2fe15bad5b";
|
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
|
|
|
};
|
|
|
|
}
|