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