1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 hatchling, 6 ptyprocess, 7 tornado, 8 pytest-timeout, 9 pytestCheckHook, 10}: 11 12buildPythonPackage rec { 13 pname = "terminado"; 14 version = "0.18.1"; 15 format = "pyproject"; 16 17 src = fetchPypi { 18 inherit pname version; 19 hash = "sha256-3gnyxLhd5HZfdxRoj/9X0+dbrR+Qm1if3ogEYMdT/S4="; 20 }; 21 22 nativeBuildInputs = [ hatchling ]; 23 24 propagatedBuildInputs = [ 25 ptyprocess 26 tornado 27 ]; 28 29 pythonImportsCheck = [ "terminado" ]; 30 31 __darwinAllowLocalNetworking = true; 32 33 nativeCheckInputs = [ 34 pytest-timeout 35 pytestCheckHook 36 ]; 37 pytestFlags = [ "-Wignore::pytest.PytestUnraisableExceptionWarning" ]; 38 39 meta = with lib; { 40 description = "Terminals served by Tornado websockets"; 41 homepage = "https://github.com/jupyter/terminado"; 42 license = licenses.bsd2; 43 maintainers = [ ]; 44 }; 45}