Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / terminado / default.nix
blob3c75305e9078f9e6eea4179de2d2fb026c4ac477
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , hatchling
5 , ptyprocess
6 , tornado
7 , pytest-timeout
8 , pytestCheckHook
9 }:
11 buildPythonPackage rec {
12   pname = "terminado";
13   version = "0.17.1";
14   format = "pyproject";
16   src = fetchPypi {
17     inherit pname version;
18     hash = "sha256-bMu806T4olpewEmR85oLjbUt/NSH6g5XjZd+Z1I4AzM=";
19   };
21   nativeBuildInputs = [
22     hatchling
23   ];
25   propagatedBuildInputs = [
26     ptyprocess
27     tornado
28   ];
30   pythonImportsCheck = [
31     "terminado"
32   ];
34   __darwinAllowLocalNetworking = true;
36   nativeCheckInputs = [
37     pytest-timeout
38     pytestCheckHook
39   ];
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   };