mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 21:53:32 +00:00
a7e65a9e76
Previously alot of tests were skipped.
48 lines
982 B
Nix
48 lines
982 B
Nix
{ lib
|
|
, aiohttp
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, pytest-asyncio
|
|
, pytestCheckHook
|
|
, pythonOlder
|
|
, zigpy
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "zha-quirks";
|
|
version = "0.0.106";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "zigpy";
|
|
repo = "zha-device-handlers";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-+sL3AbjDg0Kl6eqMwVAN9W85QKJqFR1ANKz1E958KeA=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
aiohttp
|
|
zigpy
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
pytest-asyncio
|
|
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;
|
|
};
|
|
}
|