depot/third_party/nixpkgs/pkgs/development/python-modules/ws4py/default.nix
Default email 587713944a Project import generated by Copybara.
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
2024-04-21 17:54:59 +02:00

53 lines
889 B
Nix

{ lib
, buildPythonPackage
, cherrypy
, fetchPypi
, gevent
, git
, mock
, pytestCheckHook
, pythonOlder
, setuptools
, tornado
}:
buildPythonPackage rec {
pname = "ws4py";
version = "0.5.1";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-KdBz1/LgBjc+aoSLHQCVGhEH64HzdClSvpBUKdxaVIM=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
cherrypy
gevent
tornado
];
nativeCheckInputs = [
git
mock
pytestCheckHook
];
pythonImportsCheck = [
"ws4py"
];
meta = with lib; {
description = "A WebSocket package for Python";
homepage = "https://ws4py.readthedocs.org";
changelog = "https://github.com/Lawouach/WebSocket-for-Python/blob/${version}/CHANGELOG.md";
license = licenses.bsd3;
maintainers = with maintainers; [ ];
};
}