1{ stdenv, buildPythonPackage, fetchPypi
2, aiohttp, crccheck, pycryptodome, pycrypto
3, pytest, pytest-asyncio, asynctest }:
4
5buildPythonPackage rec {
6 pname = "zigpy-homeassistant";
7 version = "0.11.0";
8
9 nativeBuildInputs = [ pytest pytest-asyncio asynctest ];
10 buildInputs = [ aiohttp pycryptodome ];
11 propagatedBuildInputs = [ crccheck pycrypto ];
12
13 src = fetchPypi {
14 inherit pname version;
15 sha256 = "021wg9yhz8dsif60r8s5621mf63bsayjjb2bimhq0am03ql0fysl";
16 };
17
18 meta = with stdenv.lib; {
19 description = "Library implementing a ZigBee stack";
20 homepage = "https://github.com/zigpy/zigpy";
21 license = licenses.gpl3Plus;
22 maintainers = with maintainers; [ etu ];
23 platforms = platforms.linux;
24 };
25}