13 buildPythonPackage rec {
14 pname = "aioesphomeapi";
16 format = "setuptools";
18 disabled = pythonOlder "3.9";
20 src = fetchFromGitHub {
23 rev = "refs/tags/v${version}";
24 hash = "sha256-g901qWU6aiaV0kLmtWJffXZrOsKjvOGI0TOgQFzuuPA=";
28 substituteInPlace requirements.txt \
29 --replace "protobuf>=3.12.2,<4.0" "protobuf>=3.12.2"
32 propagatedBuildInputs = [
44 pythonImportsCheck = [
49 description = "Python Client for ESPHome native API";
50 homepage = "https://github.com/esphome/aioesphomeapi";
51 license = licenses.mit;
52 maintainers = with maintainers; [ fab hexa ];