@@ -0,0 +1,24 @@
1+{ stdenv, buildPythonPackage, fetchPypi
2+, pyserial, pyserial-asyncio, zigpy
3+, asynctest, pytest, pytest-asyncio }:
4+
5+buildPythonPackage rec {
6+ pname = "zigpy-cc";
7+ version = "0.4.4";
8+
9+ propagatedBuildInputs = [ pyserial pyserial-asyncio zigpy ];
10+ checkInputs = [ asynctest pytest pytest-asyncio ];
11+
12+ src = fetchPypi {
13+ inherit pname version;
14+ sha256 = "117a9xak4y5nksfk9rgvzd6l7hscvzspl1wf3gydyq2lc7b3ggnl";
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+}