2020-11-03 02:18:15 +00:00
|
|
|
{ lib
|
|
|
|
, aiohttp
|
2021-01-09 10:05:03 +00:00
|
|
|
, aiosqlite
|
2020-11-03 02:18:15 +00:00
|
|
|
, asynctest
|
|
|
|
, buildPythonPackage
|
|
|
|
, crccheck
|
|
|
|
, fetchFromGitHub
|
|
|
|
, pycrypto
|
|
|
|
, pycryptodome
|
|
|
|
, pytest-aiohttp
|
|
|
|
, pytest-asyncio
|
|
|
|
, pytestCheckHook
|
|
|
|
, tox
|
|
|
|
, voluptuous }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2020-07-18 16:06:22 +00:00
|
|
|
pname = "zigpy";
|
2021-01-09 10:05:03 +00:00
|
|
|
version = "0.29.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-11-03 02:18:15 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "zigpy";
|
|
|
|
repo = "zigpy";
|
|
|
|
rev = version;
|
2021-01-09 10:05:03 +00:00
|
|
|
sha256 = "1r4i2ya9f241rls9mi24dksx4srrzi8agshnqy12rclxlh7qb1aw";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2020-11-03 02:18:15 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
aiohttp
|
2021-01-09 10:05:03 +00:00
|
|
|
aiosqlite
|
2020-11-03 02:18:15 +00:00
|
|
|
crccheck
|
|
|
|
pycrypto
|
|
|
|
pycryptodome
|
|
|
|
voluptuous
|
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
asynctest
|
|
|
|
pytest-aiohttp
|
|
|
|
pytest-asyncio
|
|
|
|
pytestCheckHook
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Library implementing a ZigBee stack";
|
|
|
|
homepage = "https://github.com/zigpy/zigpy";
|
|
|
|
license = licenses.gpl3Plus;
|
2020-07-18 16:06:22 +00:00
|
|
|
maintainers = with maintainers; [ etu mvnetbiz ];
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|