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 ];