2018-12-01 10:53:06 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, flask
|
|
|
|
, python-socketio
|
|
|
|
, coverage
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "Flask-SocketIO";
|
2019-01-17 02:58:44 +00:00
|
|
|
version = "3.1.2";
|
2018-12-01 10:53:06 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-01-17 02:58:44 +00:00
|
|
|
sha256 = "1hcl0qnhfqc9x4y6fnvsrablim8yfqfg2i097b2v3srlz69vdyr6";
|
2018-12-01 10:53:06 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
flask
|
|
|
|
python-socketio
|
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [ coverage ];
|
|
|
|
# tests only on github, but lates release there is not tagged
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Socket.IO integration for Flask applications";
|
|
|
|
homepage = http://github.com/miguelgrinberg/Flask-SocketIO/;
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.mic92 ];
|
|
|
|
};
|
|
|
|
}
|