mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-29 17:14:33 +00:00
40 lines
762 B
Nix
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 ];
|
|
};
|
|
}
|