diff --git a/pkgs/development/python-modules/homematicip/default.nix b/pkgs/development/python-modules/homematicip/default.nix index e6759f498a32..c8becd07be3b 100644 --- a/pkgs/development/python-modules/homematicip/default.nix +++ b/pkgs/development/python-modules/homematicip/default.nix @@ -5,6 +5,7 @@ , async-timeout , buildPythonPackage , fetchFromGitHub +, fetchpatch , pytestCheckHook , pythonOlder , pytest-aiohttp @@ -26,6 +27,15 @@ buildPythonPackage rec { sha256 = "008snxx9ijpi1zr1pi1v4a6g74j821hyw0khs9lmi08v2mcabm36"; }; + patches = [ + (fetchpatch { + # Drop loop kwarg from async_timeout.timeout + # https://github.com/coreGreenberet/homematicip-rest-api/pull/424 + url = "https://github.com/coreGreenberet/homematicip-rest-api/commit/90efb335667e3d462b7f9ef113d2e0b8bb4e96b4.patch"; + sha256 = "0f2bbs0666mf6sc7p4n8fwh29yjilkq36qf5pn0waf6iqdzxqwih"; + }) + ]; + propagatedBuildInputs = [ aenum aiohttp