a66bca1520
GitOrigin-RevId: 40f79f003b6377bd2f4ed4027dde1f8f922995dd
47 lines
965 B
Nix
47 lines
965 B
Nix
{ lib
|
|
, aiohttp
|
|
, asynctest
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, pytestCheckHook
|
|
, pythonOlder
|
|
, zigpy
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "zha-quirks";
|
|
version = "0.0.89";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "zigpy";
|
|
repo = "zha-device-handlers";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-5qSznGO3Cke+lGPLHjzh/db5O0/Ypmd6D5MTHuiox6Q=";
|
|
};
|
|
|
|
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";
|
|
changelog = "https://github.com/zigpy/zha-device-handlers/releases/tag/${version}";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ fab ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|