summary refs log tree commit diff
path: root/pkgs/development/python-modules/zigpy-deconz/default.nix
blob: c9df7824093f8d2b737cf8fdd60d1b833e3a6af2 (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
{ stdenv, buildPythonPackage, fetchPypi
, aiohttp, crccheck, pyserial, pyserial-asyncio, pycryptodome, zigpy
, pytest }:

buildPythonPackage rec {
  pname = "zigpy-deconz";
  version = "0.7.0";

  nativeBuildInputs = [ pytest ];
  buildInputs = [ aiohttp crccheck pycryptodome ];
  propagatedBuildInputs = [ pyserial pyserial-asyncio zigpy ];

  src = fetchPypi {
    inherit pname version;
    sha256 = "049k6lvgf6yjkinbbzm7gqrzqljk2ky9kfw8n53x8kjyfmfp71i2";
  };

  meta = with stdenv.lib; {
    description = "Library which communicates with Deconz radios for zigpy";
    homepage = "https://github.com/zigpy/zigpy-deconz";
    license = licenses.gpl3Plus;
    maintainers = with maintainers; [ etu ];
    platforms = platforms.linux;
  };
}