Files
nixpkgs/pkgs/development/python-modules/pytest-rerunfailures/default.nix
T
Raphael Borun Das Gupta 981e6981e1 python3Packages.pytest-rerunfailures: 10.3 → 11.0
Co-authored-by: Martin Weinelt <mweinelt@users.noreply.github.com>
2023-02-01 03:22:35 +01:00

37 lines
771 B
Nix

{ lib
, buildPythonPackage
, pythonOlder
, fetchPypi
, setuptools
, packaging
, pytest
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "pytest-rerunfailures";
version = "11.0";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-zuWeTm8Nc65j+6CZhlMUupuRW3GTSVQREPoBL/tu+xM=";
};
nativeBuildInputs = [ setuptools ];
buildInputs = [ pytest ];
propagatedBuildInputs = [ packaging ];
nativeCheckInputs = [ pytestCheckHook ];
meta = with lib; {
description = "Pytest plugin to re-run tests to eliminate flaky failures";
homepage = "https://github.com/pytest-dev/pytest-rerunfailures";
license = licenses.mpl20;
maintainers = with maintainers; [ das-g ];
};
}