summary refs log tree commit diff
path: root/pkgs/development/python-modules/zigpy/default.nix
blob: 726f1fde4e64fc1d1787725a049934169f0a2eff (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, pycryptodome, pycrypto
, pytest, pytest-asyncio, asynctest }:

buildPythonPackage rec {
  pname = "zigpy-homeassistant";
  version = "0.11.0";

  nativeBuildInputs = [ pytest pytest-asyncio asynctest ];
  buildInputs = [ aiohttp pycryptodome ];
  propagatedBuildInputs = [ crccheck pycrypto ];

  src = fetchPypi {
    inherit pname version;
    sha256 = "021wg9yhz8dsif60r8s5621mf63bsayjjb2bimhq0am03ql0fysl";
  };

  meta = with stdenv.lib; {
    description = "Library implementing a ZigBee stack";
    homepage = "https://github.com/zigpy/zigpy";
    license = licenses.gpl3Plus;
    maintainers = with maintainers; [ etu ];
    platforms = platforms.linux;
  };
}