2019-11-29 17:25:43 +00:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi
|
|
|
|
, aiohttp, crccheck, pycryptodome, pycrypto
|
|
|
|
, pytest, pytest-asyncio, asynctest }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "zigpy-homeassistant";
|
2020-06-06 07:47:38 +01:00
|
|
|
version = "0.19.0";
|
2019-11-29 17:25:43 +00:00
|
|
|
|
|
|
|
nativeBuildInputs = [ pytest pytest-asyncio asynctest ];
|
|
|
|
buildInputs = [ aiohttp pycryptodome ];
|
|
|
|
propagatedBuildInputs = [ crccheck pycrypto ];
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-06-06 07:47:38 +01:00
|
|
|
sha256 = "779cff7affb86b7141aa641c188342b22be0ec766adee0d180c93e74e2b10adc";
|
2019-11-29 17:25:43 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Library implementing a ZigBee stack";
|
|
|
|
homepage = "https://github.com/zigpy/zigpy";
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
maintainers = with maintainers; [ etu ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|