2021-04-14 21:42:35 +00:00
|
|
|
{ lib
|
|
|
|
, aiohttp
|
2021-06-11 09:46:18 +00:00
|
|
|
, websockets
|
2021-04-14 21:42:35 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "systembridge";
|
2021-05-23 19:55:33 +00:00
|
|
|
version = "1.2.4";
|
2021-04-14 21:42:35 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "timmo001";
|
|
|
|
repo = "system-bridge-connector-py";
|
|
|
|
rev = "v${version}";
|
2021-05-23 19:55:33 +00:00
|
|
|
sha256 = "sha256-dZOtvJXBXMKC+VOyQRMyaWAXg8lHjLcM2Zz9P0/ILT8=";
|
2021-04-14 21:42:35 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
aiohttp
|
2021-06-11 09:46:18 +00:00
|
|
|
websockets
|
2021-04-14 21:42:35 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
# Project has no tests
|
|
|
|
doCheck = false;
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|