pythonPackages.Flask-Sockets: init at 0.2.1

This commit is contained in:
Pavol Rusnak 2020-01-19 14:13:56 +01:00 committed by Jon
parent dea2d64c35
commit 6557e9a0e7
2 changed files with 39 additions and 0 deletions

View file

@ -0,0 +1,37 @@
{ 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 ];
};
}

View file

@ -3482,6 +3482,8 @@ in {
flask-socketio = callPackage ../development/python-modules/flask-socketio { }; flask-socketio = callPackage ../development/python-modules/flask-socketio { };
flask-sockets = callPackage ../development/python-modules/flask-sockets { };
flask_sqlalchemy = callPackage ../development/python-modules/flask-sqlalchemy { }; flask_sqlalchemy = callPackage ../development/python-modules/flask-sqlalchemy { };
flask-swagger = callPackage ../development/python-modules/flask-swagger { }; flask-swagger = callPackage ../development/python-modules/flask-swagger { };