stage-2-init: fix false positives for RO Nix store mounts (#375257)
[NixPkgs.git] / pkgs / development / python-modules / flask-socketio / default.nix
blobea4bdf70885bd2ffd4b41e580dc2bb4c3cd159e6
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   setuptools,
6   flask,
7   pytestCheckHook,
8   python-socketio,
9   pythonOlder,
10   redis,
13 buildPythonPackage rec {
14   pname = "flask-socketio";
15   version = "5.4.1";
16   format = "pyproject";
18   disabled = pythonOlder "3.6";
20   src = fetchFromGitHub {
21     owner = "miguelgrinberg";
22     repo = "Flask-SocketIO";
23     tag = "v${version}";
24     hash = "sha256-owlgbw0QBUz2wCBxd1rjMI+4nPVTZ6JgmU2tL+vIj5g=";
25   };
27   nativeBuildInputs = [ setuptools ];
29   propagatedBuildInputs = [
30     flask
31     python-socketio
32   ];
34   nativeCheckInputs = [
35     pytestCheckHook
36     redis
37   ];
39   pytestFlagsArray = [ "test_socketio.py" ];
41   pythonImportsCheck = [ "flask_socketio" ];
43   meta = with lib; {
44     description = "Socket.IO integration for Flask applications";
45     homepage = "https://github.com/miguelgrinberg/Flask-SocketIO/";
46     changelog = "https://github.com/miguelgrinberg/Flask-SocketIO/blob/v${version}/CHANGES.md";
47     license = licenses.mit;
48     maintainers = with maintainers; [ mic92 ];
49   };