Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / pytest-rerunfailures / default.nix
blob59d459adb6c928eeffd5a8a03d8b5072b6109f52
1 { lib
2 , buildPythonPackage
3 , pythonOlder
4 , fetchPypi
5 , setuptools
6 , packaging
7 , pytest
8 , pytestCheckHook
9 }:
11 buildPythonPackage rec {
12   pname = "pytest-rerunfailures";
13   version = "13.0";
14   format = "pyproject";
16   disabled = pythonOlder "3.7";
18   src = fetchPypi {
19     inherit pname version;
20     hash = "sha256-4TLb5CC8R29US5bnA27dCmlwdXQgm2Z3JjyVDRmwkZk=";
21   };
23   nativeBuildInputs = [ setuptools ];
25   buildInputs = [ pytest ];
26   propagatedBuildInputs = [ packaging ];
28   nativeCheckInputs = [ pytestCheckHook ];
30   meta = with lib; {
31     description = "Pytest plugin to re-run tests to eliminate flaky failures";
32     homepage = "https://github.com/pytest-dev/pytest-rerunfailures";
33     license = licenses.mpl20;
34     maintainers = with maintainers; [ das-g ];
35   };