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