1{ lib 2, buildPythonPackage 3, fetchPypi 4, greenlet 5, pytest 6, decorator 7, twisted 8, pytestCheckHook 9}: 10 11buildPythonPackage rec { 12 pname = "pytest-twisted"; 13 version = "1.14.0"; 14 format = "setuptools"; 15 16 src = fetchPypi { 17 inherit pname version; 18 sha256 = "sha256-IJv1pkUs+/th3o8BWQLBTsgSZACRFQcHS7LuTOjf4xM="; 19 }; 20 21 buildInputs = [ 22 pytest 23 ]; 24 25 propagatedBuildInputs = [ 26 decorator 27 greenlet 28 ]; 29 30 nativeCheckInputs = [ 31 pytestCheckHook 32 twisted 33 ]; 34 35 pythonImportsCheck = [ 36 "pytest_twisted" 37 ]; 38 39 meta = with lib; { 40 description = "A twisted plugin for py.test"; 41 homepage = "https://github.com/pytest-dev/pytest-twisted"; 42 license = licenses.bsd3; 43 maintainers = [ maintainers.marsam ]; 44 }; 45}