diff --git a/pkgs/development/python-modules/hass-nabucasa/default.nix b/pkgs/development/python-modules/hass-nabucasa/default.nix index 62ccb7ef91d0..c0ea7712615d 100644 --- a/pkgs/development/python-modules/hass-nabucasa/default.nix +++ b/pkgs/development/python-modules/hass-nabucasa/default.nix @@ -8,6 +8,7 @@ ciso8601, cryptography, fetchFromGitHub, + fetchpatch2, pycognito, pyjwt, pytest-aiohttp, @@ -34,8 +35,15 @@ buildPythonPackage rec { hash = "sha256-/sY/JijBCcGcbMjoX0yuhFIWvU+TFVN8sRxBx+CDVVs="; }; - pythonRelaxDeps = [ "acme" ]; + patches = [ + (fetchpatch2 { + name = "aiohttp-3.10.6-compat.patch"; + url = "https://github.com/NabuCasa/hass-nabucasa/commit/b53bc12924ca6260583e250f49f663b2d1c11541.patch"; + hash = "sha256-Z5vTl0zuidFIo92Po8oLB0VfMC7c6mlq/mJkeHXOSpQ="; + }) + ]; + pythonRelaxDeps = [ "acme" ]; build-system = [ setuptools ];