1{ lib
2, aiohttp
3, buildPythonPackage
4, fetchFromGitHub
5, websockets
6}:
7
8buildPythonPackage rec {
9 pname = "systembridge";
10 version = "2.3.1";
11
12 src = fetchFromGitHub {
13 owner = "timmo001";
14 repo = "system-bridge-connector-py";
15 rev = "v${version}";
16 hash = "sha256-Ts8zPRK6S5iLnl19Y/Uz0YAh6hDeVRNBY6HsvLwdUFw=";
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}