5e7c2d6cef
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
45 lines
845 B
Nix
45 lines
845 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pytest
|
|
, pytestCheckHook
|
|
, pythonOlder
|
|
, setuptools-scm
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pytest-repeat";
|
|
version = "0.9.2";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-eWc0Ra6ZruMzuBHH0AN660CPkzuImDdf8vT/8eO6aGs=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
setuptools-scm
|
|
];
|
|
|
|
buildInputs = [
|
|
pytest
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"pytest_repeat"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Pytest plugin for repeating tests";
|
|
homepage = "https://github.com/pytest-dev/pytest-repeat";
|
|
changelog = "https://github.com/pytest-dev/pytest-repeat/blob/v${version}/CHANGES.rst";
|
|
license = licenses.mpl20;
|
|
maintainers = with maintainers; [ ];
|
|
};
|
|
}
|