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.15.0";
14 format = "pyproject";
15
16 src = fetchPypi {
17 inherit pname version;
18 sha256 = "sha256-q07u3M/MHmE0v+6GEGr5CFLGnWAohOo6Hoym1Ehum/4=";
19 };
20
21 nativeBuildInputs = [
22 hatchling
23 ];
24
25 propagatedBuildInputs = [
26 ptyprocess
27 tornado
28 ];
29
30 pythonImportsCheck = [
31 "terminado"
32 ];
33
34 checkInputs = [
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}