2021-01-01 13:05:56 -08:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
, aiohttp
|
|
|
|
, zigpy
|
|
|
|
, asynctest
|
|
|
|
, pytestCheckHook
|
|
|
|
}:
|
2019-11-29 11:23:45 -08:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "zha-quirks";
|
2021-02-02 07:13:11 -08:00
|
|
|
version = "0.0.53";
|
2021-01-01 13:05:56 -08:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "zigpy";
|
|
|
|
repo = "zha-device-handlers";
|
|
|
|
rev = version;
|
2021-02-02 07:13:11 -08:00
|
|
|
sha256 = "16n99r7bjd3lnxn72lfnxg44n7mkv196vdhkw2sf1nq1an4ks1nc";
|
2021-01-01 13:05:56 -08:00
|
|
|
};
|
2019-11-29 11:23:45 -08:00
|
|
|
|
2020-11-18 15:45:01 -08:00
|
|
|
propagatedBuildInputs = [ aiohttp zigpy ];
|
2021-01-09 03:08:23 -08:00
|
|
|
checkInputs = [ pytestCheckHook asynctest ];
|
2019-11-29 11:23:45 -08:00
|
|
|
|
2020-11-18 15:45:01 -08:00
|
|
|
meta = with lib; {
|
2019-11-29 11:23:45 -08:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|