{ lib , aiohttp , asynctest , buildPythonPackage , fetchFromGitHub , pytestCheckHook , pythonOlder , zigpy }: buildPythonPackage rec { pname = "zha-quirks"; version = "0.0.77"; format = "setuptools"; disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "zigpy"; repo = "zha-device-handlers"; rev = "refs/tags/${version}"; hash = "sha256-z/DLMTN0VsKore4crzbyvMhyG7O4bicC9XPbeGNf74M="; }; propagatedBuildInputs = [ aiohttp zigpy ]; checkInputs = [ asynctest pytestCheckHook ]; pythonImportsCheck = [ "zhaquirks" ]; meta = with lib; { description = "ZHA Device Handlers are custom quirks implementations for Zigpy"; homepage = "https://github.com/dmulcahey/zha-device-handlers"; license = licenses.asl20; maintainers = with maintainers; [ etu ]; platforms = platforms.linux; }; }