2021-04-15 00:37:46 +00:00
|
|
|
{ lib
|
|
|
|
, aiohttp
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
2021-08-08 23:34:03 +00:00
|
|
|
, websockets
|
2021-04-15 00:37:46 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "systembridge";
|
2021-12-06 16:07:01 +00:00
|
|
|
version = "2.2.3";
|
2021-04-15 00:37:46 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "timmo001";
|
|
|
|
repo = "system-bridge-connector-py";
|
|
|
|
rev = "v${version}";
|
2021-12-06 16:07:01 +00:00
|
|
|
sha256 = "sha256-AVMZBhf15eZM9oMUFyiHYs866P1v5z1pbTvX2Qpjzfc=";
|
2021-04-15 00:37:46 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
aiohttp
|
2021-06-28 23:13:55 +00:00
|
|
|
websockets
|
2021-04-15 00:37:46 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
# Project has no tests
|
|
|
|
doCheck = false;
|
2021-08-08 23:34:03 +00:00
|
|
|
|
2021-04-15 00:37:46 +00:00
|
|
|
pythonImportsCheck = [ "systembridge" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Python module for connecting to System Bridge";
|
|
|
|
homepage = "https://github.com/timmo001/system-bridge-connector-py";
|
|
|
|
license = with licenses; [ mit ];
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|