@@ -0,0 +1,24 @@
1+{ stdenv, buildPythonPackage, fetchPypi
2+, pyserial, pyserial-asyncio, zigpy
3+, pytest }:
4+
5+buildPythonPackage rec {
6+ pname = "zigpy-xbee";
7+ version = "0.12.1";
8+
9+ buildInputs = [ pyserial pyserial-asyncio zigpy ];
10+ checkInputs = [ pytest ];
11+
12+ src = fetchPypi {
13+ inherit pname version;
14+ sha256 = "09488hl27qjv8shw38iiyzvzwcjkc0k4n00l2bfn1ac443xzw0vh";
15+ };
16+
17+ meta = with stdenv.lib; {
18+ description = "A library which communicates with XBee radios for zigpy";
19+ homepage = "http://github.com/zigpy/zigpy-xbee";
20+ license = licenses.gpl3Plus;
21+ maintainers = with maintainers; [ etu mvnetbiz ];
22+ platforms = platforms.linux;
23+ };
24+}