mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
upstream diff: https://github.com/pytest-dev/pytest-rerunfailures/compare/16.1...16.3 upstream changelog: *4b3a2200b0/CHANGES.rst (162-2026-05-13)*4b3a2200b0/CHANGES.rst (163-2026-05-22)
38 lines
877 B
Nix
38 lines
877 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
setuptools,
|
|
packaging,
|
|
pytest,
|
|
pytestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pytest-rerunfailures";
|
|
version = "16.3";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "pytest-dev";
|
|
repo = "pytest-rerunfailures";
|
|
tag = version;
|
|
hash = "sha256-T4l4AoUHvT6GjHyRK2TA3vPTxRicZ5pvgFgDtbkOGMw=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
buildInputs = [ pytest ];
|
|
|
|
dependencies = [ packaging ];
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
meta = {
|
|
description = "Pytest plugin to re-run tests to eliminate flaky failures";
|
|
homepage = "https://github.com/pytest-dev/pytest-rerunfailures";
|
|
changelog = "https://github.com/pytest-dev/pytest-rerunfailures/blob/${src.tag}/CHANGES.rst";
|
|
license = lib.licenses.mpl20;
|
|
maintainers = with lib.maintainers; [ das-g ];
|
|
};
|
|
}
|