Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib
2, aiohttp
3, asynctest
4, buildPythonPackage
5, fetchFromGitHub
6, pytestCheckHook
7, zigpy
8}:
9
10buildPythonPackage rec {
11 pname = "zha-quirks";
12 version = "0.0.63";
13
14 src = fetchFromGitHub {
15 owner = "zigpy";
16 repo = "zha-device-handlers";
17 rev = version;
18 sha256 = "sha256-jAd/qT+uwylE/AOHFnkKWECHnxFFqgCtCp36mrqFZIE=";
19 };
20
21 propagatedBuildInputs = [
22 aiohttp
23 zigpy
24 ];
25
26 checkInputs = [
27 asynctest
28 pytestCheckHook
29 ];
30
31 pythonImportsCheck = [ "zhaquirks" ];
32
33 meta = with lib; {
34 description = "ZHA Device Handlers are custom quirks implementations for Zigpy";
35 homepage = "https://github.com/dmulcahey/zha-device-handlers";
36 license = licenses.asl20;
37 maintainers = with maintainers; [ etu ];
38 platforms = platforms.linux;
39 };
40}