5ca88bfbb9
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
43 lines
853 B
Nix
43 lines
853 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
hatchling,
|
|
hatch-vcs,
|
|
pytest,
|
|
pytestCheckHook,
|
|
pythonOlder,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pytest-repeat";
|
|
version = "0.9.3";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
pname = "pytest_repeat";
|
|
inherit version;
|
|
hash = "sha256-/9ODbfzWe7JwvsZIszDiC+N9KWZEjEFIxAktHoq6gYU=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
hatchling
|
|
hatch-vcs
|
|
];
|
|
|
|
buildInputs = [ pytest ];
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
pythonImportsCheck = [ "pytest_repeat" ];
|
|
|
|
meta = with lib; {
|
|
description = "Pytest plugin for repeating tests";
|
|
homepage = "https://github.com/pytest-dev/pytest-repeat";
|
|
changelog = "https://github.com/pytest-dev/pytest-repeat/blob/v${version}/CHANGES.rst";
|
|
license = licenses.mpl20;
|
|
maintainers = [ ];
|
|
};
|
|
}
|