1{ lib
2, buildPythonPackage
3, fetchPypi
4, pytest
5, pytestCheckHook
6, pythonOlder
7, setuptools-scm
8}:
9
10buildPythonPackage rec {
11 pname = "pytest-repeat";
12 version = "0.9.2";
13 format = "setuptools";
14
15 disabled = pythonOlder "3.7";
16
17 src = fetchPypi {
18 inherit pname version;
19 hash = "sha256-eWc0Ra6ZruMzuBHH0AN660CPkzuImDdf8vT/8eO6aGs=";
20 };
21
22 nativeBuildInputs = [
23 setuptools-scm
24 ];
25
26 buildInputs = [
27 pytest
28 ];
29
30 nativeCheckInputs = [
31 pytestCheckHook
32 ];
33
34 pythonImportsCheck = [
35 "pytest_repeat"
36 ];
37
38 meta = with lib; {
39 description = "Pytest plugin for repeating tests";
40 homepage = "https://github.com/pytest-dev/pytest-repeat";
41 changelog = "https://github.com/pytest-dev/pytest-repeat/blob/v${version}/CHANGES.rst";
42 license = licenses.mpl20;
43 maintainers = with maintainers; [ ];
44 };
45}