{ lib , aiohttp , asynctest , buildPythonPackage , fetchFromGitHub , pytestCheckHook , zigpy }: buildPythonPackage rec { pname = "zha-quirks"; version = "0.0.59"; src = fetchFromGitHub { owner = "zigpy"; repo = "zha-device-handlers"; rev = version; sha256 = "1x6s44apl393as847ghbqr26h0y0h4w3wp53bs0m2nfbzjwin3i7"; }; 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; }; }