depot/third_party/nixpkgs/pkgs/development/python-modules/gevent-websocket/default.nix
Default email 5ca88bfbb9 Project import generated by Copybara.
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
2024-07-31 10:19:44 +00:00

38 lines
701 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
gevent,
gunicorn,
pythonOlder,
}:
buildPythonPackage rec {
pname = "gevent-websocket";
version = "0.10.1";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-fq7zKWgpDJEh98Nblz4swwL/sHbQGMkGjS9cqLLYX7A=";
};
propagatedBuildInputs = [
gevent
gunicorn
];
# Module has no test
doCheck = false;
pythonImportsCheck = [ "geventwebsocket" ];
meta = with lib; {
description = "Websocket handler for the gevent pywsgi server";
homepage = "https://www.gitlab.com/noppo/gevent-websocket";
license = licenses.asl20;
maintainers = [ ];
};
}