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