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