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

36 lines
709 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
flask,
gevent,
gevent-websocket,
}:
buildPythonPackage rec {
pname = "Flask-Sockets";
version = "0.2.1";
src = fetchPypi {
inherit pname version;
sha256 = "072927da8edca0e81e024f5787e643c87d80b351b714de95d723becb30e0643b";
};
propagatedBuildInputs = [
flask
gevent
gevent-websocket
];
# upstream doesn't have any tests, single file
doCheck = false;
pythonImportsCheck = [ "flask_sockets" ];
meta = with lib; {
description = "Elegant WebSockets for your Flask apps";
homepage = "https://github.com/heroku-python/flask-sockets";
license = licenses.mit;
maintainers = [ maintainers.prusnak ];
};
}