2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
aiohttp,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchFromGitHub,
|
|
|
|
websockets,
|
2021-04-15 00:37:46 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "systembridge";
|
2022-02-10 20:34:41 +00:00
|
|
|
version = "2.3.1";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2021-04-15 00:37:46 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "timmo001";
|
|
|
|
repo = "system-bridge-connector-py";
|
|
|
|
rev = "v${version}";
|
2023-03-15 16:39:30 +00:00
|
|
|
hash = "sha256-Ts8zPRK6S5iLnl19Y/Uz0YAh6hDeVRNBY6HsvLwdUFw=";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|