1{ stdenv, buildPythonPackage, fetchPypi
2, pyserial, pyserial-asyncio, zigpy
3, asynctest, pytest, pytest-asyncio }:
4
5buildPythonPackage rec {
6 pname = "zigpy-cc";
7 version = "0.5.1";
8
9 propagatedBuildInputs = [ pyserial pyserial-asyncio zigpy ];
10 checkInputs = [ asynctest pytest pytest-asyncio ];
11
12 src = fetchPypi {
13 inherit pname version;
14 sha256 = "06759615b28c45beaa5f03e594769a373d41674b96aeafefccd5c4e1c67e25ca";
15 };
16
17 meta = with stdenv.lib; {
18 description = "A library which communicates with Texas Instruments CC2531 radios for zigpy";
19 homepage = "http://github.com/sanyatuning/zigpy-cc";
20 license = licenses.gpl3Plus;
21 maintainers = with maintainers; [ etu mvnetbiz ];
22 platforms = platforms.linux;
23 };
24}