1{ lib
2, aiohttp
3, buildPythonPackage
4, fetchFromGitHub
5, websockets
6}:
7
8buildPythonPackage rec {
9 pname = "systembridge";
10 version = "2.2.3";
11
12 src = fetchFromGitHub {
13 owner = "timmo001";
14 repo = "system-bridge-connector-py";
15 rev = "v${version}";
16 sha256 = "sha256-AVMZBhf15eZM9oMUFyiHYs866P1v5z1pbTvX2Qpjzfc=";
17 };
18
19 propagatedBuildInputs = [
20 aiohttp
21 websockets
22 ];
23
24 # Project has no tests
25 doCheck = false;
26
27 pythonImportsCheck = [ "systembridge" ];
28
29 meta = with lib; {
30 description = "Python module for connecting to System Bridge";
31 homepage = "https://github.com/timmo001/system-bridge-connector-py";
32 license = with licenses; [ mit ];
33 maintainers = with maintainers; [ fab ];
34 };
35}