From 13b5fa18bbf6f54c12e5d6bd6349e2b1bca28c9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Sat, 1 Dec 2018 10:53:06 +0000 Subject: [PATCH] python3.pkgs.flask-socketio: init at 3.1.0 --- .../python-modules/flask-socketio/default.nix | 33 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 35 insertions(+) create mode 100644 pkgs/development/python-modules/flask-socketio/default.nix diff --git a/pkgs/development/python-modules/flask-socketio/default.nix b/pkgs/development/python-modules/flask-socketio/default.nix new file mode 100644 index 000000000000..d722ce03417a --- /dev/null +++ b/pkgs/development/python-modules/flask-socketio/default.nix @@ -0,0 +1,33 @@ +{ lib +, buildPythonPackage +, fetchPypi +, flask +, python-socketio +, coverage +}: + +buildPythonPackage rec { + pname = "Flask-SocketIO"; + version = "3.1.0"; + + src = fetchPypi { + inherit pname version; + sha256 = "a7188b35f7874903f554b3a1a3a4465213e765c4f17182fa5cb3d9f6915da4c1"; + }; + + 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 ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 40c2edc8b0fd..a93bae80a822 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2369,6 +2369,8 @@ in { flask-silk = callPackage ../development/python-modules/flask-silk { }; + flask-socketio = callPackage ../development/python-modules/flask-socketio { }; + flask_sqlalchemy = callPackage ../development/python-modules/flask-sqlalchemy { }; flask_testing = callPackage ../development/python-modules/flask-testing { };