1{ lib 2, aiohttp 3, buildPythonPackage 4, fetchFromGitHub 5, pytest-asyncio 6, pytestCheckHook 7, pythonOlder 8, zigpy 9}: 10 11buildPythonPackage rec { 12 pname = "zha-quirks"; 13 version = "0.0.106"; 14 format = "setuptools"; 15 16 disabled = pythonOlder "3.7"; 17 18 src = fetchFromGitHub { 19 owner = "zigpy"; 20 repo = "zha-device-handlers"; 21 rev = "refs/tags/${version}"; 22 hash = "sha256-+sL3AbjDg0Kl6eqMwVAN9W85QKJqFR1ANKz1E958KeA="; 23 }; 24 25 propagatedBuildInputs = [ 26 aiohttp 27 zigpy 28 ]; 29 30 nativeCheckInputs = [ 31 pytest-asyncio 32 pytestCheckHook 33 ]; 34 35 pythonImportsCheck = [ 36 "zhaquirks" 37 ]; 38 39 meta = with lib; { 40 description = "ZHA Device Handlers are custom quirks implementations for Zigpy"; 41 homepage = "https://github.com/dmulcahey/zha-device-handlers"; 42 changelog = "https://github.com/zigpy/zha-device-handlers/releases/tag/${version}"; 43 license = licenses.asl20; 44 maintainers = with maintainers; [ fab ]; 45 platforms = platforms.linux; 46 }; 47}