1{ lib
2, buildPythonPackage
3, fetchPypi
4, setuptools-scm
5, py
6, pytest
7, pytestCheckHook
8}:
9
10buildPythonPackage rec {
11 pname = "pytest-forked";
12 version = "1.3.0";
13
14 src = fetchPypi {
15 inherit pname version;
16 sha256 = "6aa9ac7e00ad1a539c41bec6d21011332de671e938c7637378ec9710204e37ca";
17 };
18
19 nativeBuildInputs = [ setuptools-scm ];
20
21 buildInputs = [
22 pytest
23 ];
24
25 propagatedBuildInputs = [
26 py
27 ];
28
29 checkInputs = [ pytestCheckHook ];
30
31 meta = {
32 description = "Run tests in isolated forked subprocesses";
33 homepage = "https://github.com/pytest-dev/pytest-forked";
34 license = lib.licenses.mit;
35 maintainers = with lib.maintainers; [ dotlambda ];
36 };
37}