2020-07-18 16:06:22 +00:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi
|
|
|
|
, pyserial, pyserial-asyncio, zigpy
|
|
|
|
, asynctest, pytest, pytest-asyncio }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "zigpy-cc";
|
2020-09-25 04:45:31 +00:00
|
|
|
version = "0.5.1";
|
2020-07-18 16:06:22 +00:00
|
|
|
|
|
|
|
propagatedBuildInputs = [ pyserial pyserial-asyncio zigpy ];
|
|
|
|
checkInputs = [ asynctest pytest pytest-asyncio ];
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-09-25 04:45:31 +00:00
|
|
|
sha256 = "06759615b28c45beaa5f03e594769a373d41674b96aeafefccd5c4e1c67e25ca";
|
2020-07-18 16:06:22 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A library which communicates with Texas Instruments CC2531 radios for zigpy";
|
|
|
|
homepage = "http://github.com/sanyatuning/zigpy-cc";
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
maintainers = with maintainers; [ etu mvnetbiz ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|