3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/flask-socketio/default.nix
2021-01-06 09:12:50 +01:00

40 lines
762 B
Nix

{ lib
, buildPythonPackage
, coverage
, fetchFromGitHub
, flask
, pytestCheckHook
, python-socketio
}:
buildPythonPackage rec {
pname = "Flask-SocketIO";
version = "5.0.1";
src = fetchFromGitHub {
owner = "miguelgrinberg";
repo = "Flask-SocketIO";
rev = "v${version}";
sha256 = "01zf6cy95pgc4flgn0740z2my90l7rxwliahp6rb2xbp7rh32cng";
};
propagatedBuildInputs = [
flask
python-socketio
];
checkInputs = [
coverage
pytestCheckHook
];
pythonImportsCheck = [ "flask_socketio" ];
meta = with lib; {
description = "Socket.IO integration for Flask applications";
homepage = "https://github.com/miguelgrinberg/Flask-SocketIO/";
license = licenses.mit;
maintainers = [ maintainers.mic92 ];
};
}