depot/third_party/nixpkgs/pkgs/development/python-modules/terminado/default.nix

48 lines
801 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
, hatchling
, ptyprocess
, tornado
, pytest-timeout
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "terminado";
version = "0.18.0";
format = "pyproject";
src = fetchPypi {
inherit pname version;
hash = "sha256-HqCKibg13RuMDJANkoSBR87yU3JDNhsuP03BXfm2/e0=";
};
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; [ ];
};
}