{ lib , buildPythonPackage , fetchFromGitHub , async-timeout , chacha20poly1305-reuseable , mock , noiseprotocol , protobuf , pytest-asyncio , pytestCheckHook , pythonOlder , zeroconf }: buildPythonPackage rec { pname = "aioesphomeapi"; version = "17.2.0"; format = "setuptools"; disabled = pythonOlder "3.9"; src = fetchFromGitHub { owner = "esphome"; repo = pname; rev = "refs/tags/v${version}"; hash = "sha256-+yPHIXJ0vHaFO2X3xN+7WIQUlCvoYlGi1N7W+H/ng/0="; }; propagatedBuildInputs = [ async-timeout chacha20poly1305-reuseable noiseprotocol protobuf zeroconf ]; nativeCheckInputs = [ mock pytest-asyncio pytestCheckHook ]; pythonImportsCheck = [ "aioesphomeapi" ]; meta = with lib; { description = "Python Client for ESPHome native API"; homepage = "https://github.com/esphome/aioesphomeapi"; changelog = "https://github.com/esphome/aioesphomeapi/releases/tag/v${version}"; license = licenses.mit; maintainers = with maintainers; [ fab hexa ]; }; }