anki-bin: 24.06.3 -> 24.11 (#360722)
[NixPkgs.git] / pkgs / development / python-modules / pytest-repeat / default.nix
blob8df24c2be1f87c2cbf49bc584e915aeaf19b1a47
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   hatchling,
6   hatch-vcs,
7   pytest,
8   pytestCheckHook,
9   pythonOlder,
12 buildPythonPackage rec {
13   pname = "pytest-repeat";
14   version = "0.9.3";
15   pyproject = true;
17   disabled = pythonOlder "3.7";
19   src = fetchPypi {
20     pname = "pytest_repeat";
21     inherit version;
22     hash = "sha256-/9ODbfzWe7JwvsZIszDiC+N9KWZEjEFIxAktHoq6gYU=";
23   };
25   nativeBuildInputs = [
26     hatchling
27     hatch-vcs
28   ];
30   buildInputs = [ pytest ];
32   nativeCheckInputs = [ pytestCheckHook ];
34   pythonImportsCheck = [ "pytest_repeat" ];
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   };