python3Packages.homematicip: add support for async_timeout>4

This commit is contained in:
Fabian Affolter
2021-11-30 18:52:52 -08:00
committed by Jonathan Ringer
parent 75f7a59002
commit 8896128023
@@ -17,6 +17,8 @@
buildPythonPackage rec {
pname = "homematicip";
version = "1.0.1";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
@@ -42,6 +44,11 @@ buildPythonPackage rec {
pytestCheckHook
];
postPatch = ''
substituteInPlace homematicip/aio/connection.py \
--replace ", loop=self._loop" ""
'';
disabledTests = [
# Assert issues with datetime
"test_contact_interface_device"
@@ -67,7 +74,9 @@ buildPythonPackage rec {
"test_websocket"
];
pythonImportsCheck = [ "homematicip" ];
pythonImportsCheck = [
"homematicip"
];
meta = with lib; {
description = "Python module for the homematicIP REST API";