Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 hatchling, 6 hatch-vcs, 7 pytest, 8 pytestCheckHook, 9 pythonOlder, 10}: 11 12buildPythonPackage rec { 13 pname = "pytest-repeat"; 14 version = "0.9.3"; 15 pyproject = true; 16 17 disabled = pythonOlder "3.7"; 18 19 src = fetchPypi { 20 pname = "pytest_repeat"; 21 inherit version; 22 hash = "sha256-/9ODbfzWe7JwvsZIszDiC+N9KWZEjEFIxAktHoq6gYU="; 23 }; 24 25 nativeBuildInputs = [ 26 hatchling 27 hatch-vcs 28 ]; 29 30 buildInputs = [ pytest ]; 31 32 nativeCheckInputs = [ pytestCheckHook ]; 33 34 pythonImportsCheck = [ "pytest_repeat" ]; 35 36 meta = with lib; { 37 description = "Pytest plugin for repeating tests"; 38 homepage = "https://github.com/pytest-dev/pytest-repeat"; 39 changelog = "https://github.com/pytest-dev/pytest-repeat/blob/v${version}/CHANGES.rst"; 40 license = licenses.mpl20; 41 maintainers = [ ]; 42 }; 43}