1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 hatchling, 6 hatch-vcs, 7 pytest, 8 pytestCheckHook, 9}: 10 11buildPythonPackage rec { 12 pname = "pytest-repeat"; 13 version = "0.9.4"; 14 pyproject = true; 15 16 src = fetchPypi { 17 pname = "pytest_repeat"; 18 inherit version; 19 hash = "sha256-2SrBTfqm/8/mkX5dFvDJvII4DBNbA8Kl9BLSY38iRIU="; 20 }; 21 22 build-system = [ 23 hatchling 24 hatch-vcs 25 ]; 26 27 buildInputs = [ pytest ]; 28 29 nativeCheckInputs = [ pytestCheckHook ]; 30 31 pythonImportsCheck = [ "pytest_repeat" ]; 32 33 meta = with lib; { 34 description = "Pytest plugin for repeating tests"; 35 homepage = "https://github.com/pytest-dev/pytest-repeat"; 36 changelog = "https://github.com/pytest-dev/pytest-repeat/blob/v${version}/CHANGES.rst"; 37 license = licenses.mpl20; 38 maintainers = [ ]; 39 }; 40}