nixpkgs/pkgs/development/python-modules/zha-quirks/default.nix
2021-04-10 01:28:41 +02:00

41 lines
787 B
Nix

{ lib
, aiohttp
, asynctest
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, zigpy
}:
buildPythonPackage rec {
pname = "zha-quirks";
version = "0.0.56";
src = fetchFromGitHub {
owner = "zigpy";
repo = "zha-device-handlers";
rev = version;
sha256 = "1jss5pnxdjlp0kplqxgr09vv1zq9n7l9w08hsywy2vglqmd67a66";
};
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; [ etu ];
platforms = platforms.linux;
};
}