Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / pytest-repeat / default.nix
blob1c020428c4b8ec5703f43b0bbcdbce505dcf5b0a
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , hatchling
5 , hatch-vcs
6 , pytest
7 , pytestCheckHook
8 , pythonOlder
9 }:
11 buildPythonPackage rec {
12   pname = "pytest-repeat";
13   version = "0.9.3";
14   pyproject = true;
16   disabled = pythonOlder "3.7";
18   src = fetchPypi {
19     pname = "pytest_repeat";
20     inherit version;
21     hash = "sha256-/9ODbfzWe7JwvsZIszDiC+N9KWZEjEFIxAktHoq6gYU=";
22   };
24   nativeBuildInputs = [
25     hatchling
26     hatch-vcs
27   ];
29   buildInputs = [
30     pytest
31   ];
33   nativeCheckInputs = [
34     pytestCheckHook
35   ];
37   pythonImportsCheck = [
38     "pytest_repeat"
39   ];
41   meta = with lib; {
42     description = "Pytest plugin for repeating tests";
43     homepage = "https://github.com/pytest-dev/pytest-repeat";
44     changelog = "https://github.com/pytest-dev/pytest-repeat/blob/v${version}/CHANGES.rst";
45     license = licenses.mpl20;
46     maintainers = with maintainers; [ ];
47   };