Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, buildPythonPackage 3, fetchPypi 4, hatchling 5, ptyprocess 6, tornado 7, pytest-timeout 8, pytestCheckHook 9}: 10 11buildPythonPackage rec { 12 pname = "terminado"; 13 version = "0.17.1"; 14 format = "pyproject"; 15 16 src = fetchPypi { 17 inherit pname version; 18 hash = "sha256-bMu806T4olpewEmR85oLjbUt/NSH6g5XjZd+Z1I4AzM="; 19 }; 20 21 nativeBuildInputs = [ 22 hatchling 23 ]; 24 25 propagatedBuildInputs = [ 26 ptyprocess 27 tornado 28 ]; 29 30 pythonImportsCheck = [ 31 "terminado" 32 ]; 33 34 nativeCheckInputs = [ 35 pytest-timeout 36 pytestCheckHook 37 ]; 38 39 40 meta = with lib; { 41 description = "Terminals served by Tornado websockets"; 42 homepage = "https://github.com/jupyter/terminado"; 43 license = licenses.bsd2; 44 maintainers = with maintainers; [ ]; 45 }; 46}