pythonPackages.Flask-Sockets: init at 0.2.1
This commit is contained in:
parent
dea2d64c35
commit
6557e9a0e7
37
pkgs/development/python-modules/flask-sockets/default.nix
Normal file
37
pkgs/development/python-modules/flask-sockets/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
@ -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 { };
|
||||||
|
Loading…
Reference in New Issue
Block a user