2020-04-24 23:36:52 +00:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi
|
2020-07-18 16:06:22 +00:00
|
|
|
, aiohttp, crccheck, pycryptodome, pycrypto, voluptuous
|
2020-04-24 23:36:52 +00:00
|
|
|
, pytest, pytest-asyncio, asynctest }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2020-07-18 16:06:22 +00:00
|
|
|
pname = "zigpy";
|
|
|
|
version = "0.22.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-07-18 16:06:22 +00:00
|
|
|
propagatedBuildInputs = [ aiohttp crccheck pycrypto pycryptodome voluptuous ];
|
|
|
|
checkInputs = [ pytest pytest-asyncio asynctest ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-07-18 16:06:22 +00:00
|
|
|
sha256 = "1y8n96g5g6qsx8s2z028f1cyp2w8y7kksi8k2yyzpqvmanbxyjhc";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Library implementing a ZigBee stack";
|
|
|
|
homepage = "https://github.com/zigpy/zigpy";
|
|
|
|
license = licenses.gpl3Plus;
|
2020-07-18 16:06:22 +00:00
|
|
|
maintainers = with maintainers; [ etu mvnetbiz ];
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|