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