{ aiohttp, aiohttp-sse-client2, aresponses, awesomeversion, buildPythonPackage, fetchFromGitHub, lib, mashumaro, poetry-core, pytest-asyncio, pytestCheckHook, }: buildPythonPackage rec { pname = "pysmlight"; version = "0.2.9"; pyproject = true; src = fetchFromGitHub { owner = "smlight-tech"; repo = "pysmlight"; tag = "v${version}"; hash = "sha256-KNEGRmMq88AMGrBB0hfNa5bJpLx5gLZLH7H7zLkiQ2c="; }; build-system = [ poetry-core ]; dependencies = [ aiohttp aiohttp-sse-client2 awesomeversion mashumaro ]; pythonImportsCheck = [ "pysmlight" ]; nativeCheckInputs = [ aresponses pytest-asyncio pytestCheckHook ]; __darwinAllowLocalNetworking = true; meta = { changelog = "https://github.com/smlight-tech/pysmlight/releases/tag/${src.tag}"; description = "Library implementing API control of the SMLIGHT SLZB-06 LAN Coordinators"; homepage = "https://github.com/smlight-tech/pysmlight"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ dotlambda ]; }; }