2021-01-01 21:05:56 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
, aiohttp
|
|
|
|
, zigpy
|
|
|
|
, conftest
|
|
|
|
, asynctest
|
|
|
|
, pytestCheckHook
|
|
|
|
}:
|
2019-11-29 19:23:45 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "zha-quirks";
|
2021-01-01 21:05:56 +00:00
|
|
|
version = "0.0.51";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "zigpy";
|
|
|
|
repo = "zha-device-handlers";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "14v01kclf096ax88cd6ckfs8gcffqissli9vpr0wfzli08afmbi9";
|
|
|
|
};
|
2019-11-29 19:23:45 +00:00
|
|
|
|
2020-11-18 23:45:01 +00:00
|
|
|
propagatedBuildInputs = [ aiohttp zigpy ];
|
|
|
|
checkInputs = [ pytestCheckHook conftest asynctest ];
|
2019-11-29 19:23:45 +00:00
|
|
|
|
2020-11-18 23:45:01 +00:00
|
|
|
meta = with lib; {
|
2019-11-29 19:23:45 +00: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;
|
|
|
|
};
|
|
|
|
}
|