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