2021-01-01 13:05:56 -08:00
|
|
|
{ lib
|
|
|
|
, aiohttp
|
|
|
|
, asynctest
|
2021-04-01 06:33:44 -07:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
2021-01-01 13:05:56 -08:00
|
|
|
, pytestCheckHook
|
2021-04-01 06:33:44 -07:00
|
|
|
, zigpy
|
2021-01-01 13:05:56 -08:00
|
|
|
}:
|
2019-11-29 11:23:45 -08:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "zha-quirks";
|
2021-04-01 06:33:44 -07:00
|
|
|
version = "0.0.55";
|
2021-01-01 13:05:56 -08:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "zigpy";
|
|
|
|
repo = "zha-device-handlers";
|
|
|
|
rev = version;
|
2021-04-01 06:33:44 -07:00
|
|
|
sha256 = "sha256-mc7mOaxn2FCvwYv9yE0mIOSQ1F+xJJ+1LynOdEV07I8=";
|
2021-01-01 13:05:56 -08:00
|
|
|
};
|
2019-11-29 11:23:45 -08:00
|
|
|
|
2021-04-01 06:33:44 -07:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
aiohttp
|
|
|
|
zigpy
|
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
asynctest
|
|
|
|
pytestCheckHook
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "zhaquirks" ];
|
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;
|
|
|
|
};
|
|
|
|
}
|