python3Packages.homematicip: apply patch to drop loop kwarg usage

This commit is contained in:
Martin Weinelt
2021-12-10 11:46:39 +01:00
parent c2b79874a7
commit 628d9fc18b

View File

@@ -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