diff --git a/pkgs/development/python-modules/idasen-ha/default.nix b/pkgs/development/python-modules/idasen-ha/default.nix index 1475d6a85e36..93039a88e879 100644 --- a/pkgs/development/python-modules/idasen-ha/default.nix +++ b/pkgs/development/python-modules/idasen-ha/default.nix @@ -1,6 +1,7 @@ { buildPythonPackage, fetchFromGitHub, + fetchpatch, idasen, lib, pytest-asyncio, @@ -20,6 +21,14 @@ buildPythonPackage rec { hash = "sha256-Z4MfJGL2uDqY1ddoV2fB+Ty/dKFhCUY8qBfP/i/naJs="; }; + patches = [ + (fetchpatch { + name = "bleak-1.0.0-compat.patch"; + url = "https://github.com/abmantis/idasen-ha/commit/57e5ba4affb99b17ffc95a33a0aec60c7518be2b.patch"; + hash = "sha256-Jc6e9uYrifXZ91aNhoxqyquq1WMzHWrVKPBXYhosbRM="; + }) + ]; + build-system = [ setuptools ]; dependencies = [ idasen ];