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 __darwinAllowLocalNetworking = true;
35
36 nativeCheckInputs = [
37 pytest-timeout
38 pytestCheckHook
39 ];
40
41 meta = with lib; {
42 description = "Terminals served by Tornado websockets";
43 homepage = "https://github.com/jupyter/terminado";
44 license = licenses.bsd2;
45 maintainers = with maintainers; [ ];
46 };
47}