92b3d6365d
GitOrigin-RevId: 412b9917cea092f3d39f9cd5dead4effd5bc4053
46 lines
873 B
Nix
46 lines
873 B
Nix
{ lib
|
|
, aiohttp
|
|
, asynctest
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, pytestCheckHook
|
|
, pythonOlder
|
|
, zigpy
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "zha-quirks";
|
|
version = "0.0.83";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "zigpy";
|
|
repo = "zha-device-handlers";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-N+DSaPohwkMJ+YjbnUi7k8GQ+YFd6Ng8n0yesEnOnRA=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
aiohttp
|
|
zigpy
|
|
];
|
|
|
|
checkInputs = [
|
|
asynctest
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"zhaquirks"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "ZHA Device Handlers are custom quirks implementations for Zigpy";
|
|
homepage = "https://github.com/dmulcahey/zha-device-handlers";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|