Something went wrong. Try again.
lol
Something went wrong. Try again.
1.1 kB · 57 lines
Nix
at master
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758{ lib, aiohttp, aioresponses, bleak-retry-connector, bluetooth-data-tools, buildPythonPackage, fetchFromGitHub, habluetooth, orjson, pytest-asyncio, pytestCheckHook, setuptools, yarl, zeroconf,}:
buildPythonPackage rec { pname = "aioshelly"; version = "13.23.1"; pyproject = true;
src = fetchFromGitHub { owner = "home-assistant-libs"; repo = "aioshelly"; tag = version; hash = "sha256-vAYhOBfwDKWO0K4pHVf3qqpXTztb5Qzn8TEzk6ecbw0="; };
build-system = [ setuptools ];
dependencies = [ aiohttp bleak-retry-connector bluetooth-data-tools habluetooth orjson yarl zeroconf ];
nativeCheckInputs = [ aioresponses pytest-asyncio pytestCheckHook ];
pythonImportsCheck = [ "aioshelly" ];
meta = { description = "Python library to control Shelly"; homepage = "https://github.com/home-assistant-libs/aioshelly"; changelog = "https://github.com/home-assistant-libs/aioshelly/releases/tag/${src.tag}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ fab ]; };}