depot/third_party/nixpkgs/pkgs/development/python-modules/flask-socketio/default.nix
Default email 2969ca571a Project import generated by Copybara.
GitOrigin-RevId: 257cbbcd3ab7bd96f5d24d50adc807de7c82e06d
2021-01-09 11:05:03 +01:00

39 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 ];
};
}