blob: 9eb34ef0fd92718db4e7b83341abd04bac07e8ef (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
flask,
pytestCheckHook,
python-socketio,
redis,
}:
buildPythonPackage rec {
pname = "flask-socketio";
version = "5.6.0";
pyproject = true;
src = fetchFromGitHub {
owner = "miguelgrinberg";
repo = "Flask-SocketIO";
tag = "v${version}";
hash = "sha256-1FMAooXktrbA4FDHrS0CQuqoTV6B4xWh5IIxRTDAzLs=";
};
build-system = [ setuptools ];
dependencies = [
flask
python-socketio
];
nativeCheckInputs = [
pytestCheckHook
redis
];
enabledTestPaths = [ "test_socketio.py" ];
pythonImportsCheck = [ "flask_socketio" ];
meta = {
description = "Socket.IO integration for Flask applications";
homepage = "https://github.com/miguelgrinberg/Flask-SocketIO/";
changelog = "https://github.com/miguelgrinberg/Flask-SocketIO/blob/${src.tag}/CHANGES.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ mic92 ];
};
}
|