about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/zha-quirks/default.nix
blob: 2f3500516cb9e58ddeebe10a70b9bd8370077ecc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{ lib
, buildPythonPackage
, fetchFromGitHub
, aiohttp
, zigpy
, asynctest
, pytestCheckHook
}:

buildPythonPackage rec {
  pname = "zha-quirks";
  version = "0.0.51";

  src = fetchFromGitHub {
    owner = "zigpy";
    repo = "zha-device-handlers";
    rev = version;
    sha256 = "14v01kclf096ax88cd6ckfs8gcffqissli9vpr0wfzli08afmbi9";
  };

  propagatedBuildInputs = [ aiohttp zigpy ];
  checkInputs = [ pytestCheckHook asynctest ];

  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;
  };
}