blob: 3b13e29dbce29598d56d64149188c5246d44f9bc (
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
aiohttp,
incremental,
packaging,
systembridgemodels,
pytest-aiohttp,
pytest-socket,
pytestCheckHook,
syrupy,
}:
buildPythonPackage rec {
pname = "systembridgeconnector";
version = "5.3.1";
pyproject = true;
src = fetchFromGitHub {
owner = "timmo001";
repo = "system-bridge-connector";
tag = version;
hash = "sha256-VM5Or2IiLN+ceUyCaCRxys9B12JSaSfDwaoII2X6q/A=";
};
build-system = [
incremental
setuptools
];
dependencies = [
aiohttp
packaging
systembridgemodels
];
pythonImportsCheck = [ "systembridgeconnector" ];
nativeCheckInputs = [
pytest-aiohttp
pytest-socket
pytestCheckHook
syrupy
];
__darwinAllowLocalNetworking = true;
disabledTests = [
"test_execute_command"
"test_get_commands"
"test_get_data"
"test_get_directories"
"test_get_file"
"test_sensors"
"test_system"
"test_update"
"test_wait_for_response_timeout"
];
meta = {
changelog = "https://github.com/timmo001/system-bridge-connector/releases/tag/${version}";
description = "This is the connector package for the System Bridge project";
homepage = "https://github.com/timmo001/system-bridge-connector";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ dotlambda ];
};
}
|