depot/third_party/nixpkgs/pkgs/development/python-modules/terminado/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

44 lines
799 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
hatchling,
ptyprocess,
tornado,
pytest-timeout,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "terminado";
version = "0.18.1";
format = "pyproject";
src = fetchPypi {
inherit pname version;
hash = "sha256-3gnyxLhd5HZfdxRoj/9X0+dbrR+Qm1if3ogEYMdT/S4=";
};
nativeBuildInputs = [ hatchling ];
propagatedBuildInputs = [
ptyprocess
tornado
];
pythonImportsCheck = [ "terminado" ];
__darwinAllowLocalNetworking = true;
nativeCheckInputs = [
pytest-timeout
pytestCheckHook
];
meta = with lib; {
description = "Terminals served by Tornado websockets";
homepage = "https://github.com/jupyter/terminado";
license = licenses.bsd2;
maintainers = with maintainers; [ ];
};
}