2019-11-29 17:25:43 +00:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi
|
2020-07-09 13:18:52 +01:00
|
|
|
, aiohttp, crccheck, pycryptodome, pycrypto, voluptuous
|
2019-11-29 17:25:43 +00:00
|
|
|
, pytest, pytest-asyncio, asynctest }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2020-07-09 13:18:52 +01:00
|
|
|
pname = "zigpy";
|
2020-07-31 09:56:50 +01:00
|
|
|
version = "0.22.2";
|
2019-11-29 17:25:43 +00:00
|
|
|
|
2020-07-09 13:18:52 +01:00
|
|
|
propagatedBuildInputs = [ aiohttp crccheck pycrypto pycryptodome voluptuous ];
|
|
|
|
checkInputs = [ pytest pytest-asyncio asynctest ];
|
2019-11-29 17:25:43 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-07-31 09:56:50 +01:00
|
|
|
sha256 = "a43129932c6e4af0d2d57542218faf7695e2424ce18a5a8915d016e1303f5e44";
|
2019-11-29 17:25:43 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Library implementing a ZigBee stack";
|
|
|
|
homepage = "https://github.com/zigpy/zigpy";
|
|
|
|
license = licenses.gpl3Plus;
|
2020-07-09 13:18:52 +01:00
|
|
|
maintainers = with maintainers; [ etu mvnetbiz ];
|
2019-11-29 17:25:43 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|