From 78bc3a26ff3a7b6071b2ae1a1c940c728798bc96 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Wed, 3 Jun 2026 02:52:16 +0200 Subject: [PATCH] python3Packages.aioesphomeapi: 44.24.1 -> 45.3.1 https://github.com/esphome/aioesphomeapi/releases/tag/v45.3.1 --- .../python-modules/aioesphomeapi/default.nix | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/aioesphomeapi/default.nix b/pkgs/development/python-modules/aioesphomeapi/default.nix index dee8b59cae21..d9b3cbd666aa 100644 --- a/pkgs/development/python-modules/aioesphomeapi/default.nix +++ b/pkgs/development/python-modules/aioesphomeapi/default.nix @@ -15,6 +15,7 @@ cryptography, noiseprotocol, protobuf, + tzdata, tzlocal, zeroconf, @@ -26,19 +27,20 @@ buildPythonPackage (finalAttrs: { pname = "aioesphomeapi"; - version = "44.24.1"; # must track the major version that home-assistant pins + version = "45.3.1"; # must track the major version that home-assistant pins pyproject = true; src = fetchFromGitHub { owner = "esphome"; repo = "aioesphomeapi"; tag = "v${finalAttrs.version}"; - hash = "sha256-D2MJISyHz4s0Rk6wGMrYVJHfvA/Xbw2UEp2KqTqS2nA="; + hash = "sha256-+8P6OL+4Y+qrKLYqXtjBL2ylcamsF24Ccn00Vt9ohD0="; }; postPatch = '' substituteInPlace pyproject.toml \ - --replace-fail "setuptools>=82.0.1" setuptools + --replace-fail "setuptools>=82.0.1" setuptools \ + --replace-fail "Cython>=3.2.5" Cython ''; build-system = [ @@ -46,7 +48,10 @@ buildPythonPackage (finalAttrs: { cython ]; - pythonRelaxDeps = [ "cryptography" ]; + pythonRelaxDeps = [ + "aiohappyeyeballs" + "cryptography" + ]; dependencies = [ aiohappyeyeballs @@ -55,6 +60,7 @@ buildPythonPackage (finalAttrs: { cryptography noiseprotocol protobuf + tzdata tzlocal zeroconf ];