1{ lib
2, buildPythonPackage
3, fetchPypi
4, setuptools_scm
5, pytest
6, fetchpatch
7}:
8
9buildPythonPackage rec {
10 pname = "pytest-repeat";
11 version = "0.9.1";
12
13 src = fetchPypi {
14 inherit pname version;
15 sha256 = "5cd3289745ab3156d43eb9c8e7f7d00a926f3ae5c9cf425bec649b2fe15bad5b";
16 };
17
18 nativeBuildInputs = [
19 setuptools_scm
20 ];
21
22 checkInputs = [
23 pytest
24 ];
25
26 checkPhase = ''
27 pytest
28 '';
29
30 meta = with lib; {
31 description = "Pytest plugin for repeating tests";
32 homepage = "https://github.com/pytest-dev/pytest-repeat";
33 license = licenses.mpl20;
34 maintainers = with maintainers; [ costrouc ];
35 };
36}