2020-10-24 14:12:14 +01:00
|
|
|
{ lib
|
|
|
|
, aiohttp
|
2021-01-01 21:05:10 +00:00
|
|
|
, aiosqlite
|
2020-10-24 14:12:14 +01:00
|
|
|
, asynctest
|
|
|
|
, buildPythonPackage
|
|
|
|
, crccheck
|
|
|
|
, fetchFromGitHub
|
|
|
|
, pycrypto
|
|
|
|
, pycryptodome
|
|
|
|
, pytest-aiohttp
|
|
|
|
, pytest-asyncio
|
|
|
|
, pytestCheckHook
|
|
|
|
, tox
|
|
|
|
, voluptuous }:
|
2019-11-29 17:25:43 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2020-07-09 13:18:52 +01:00
|
|
|
pname = "zigpy";
|
2021-04-01 15:39:22 +01:00
|
|
|
version = "0.33.0";
|
2019-11-29 17:25:43 +00:00
|
|
|
|
2020-10-24 14:12:14 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "zigpy";
|
|
|
|
repo = "zigpy";
|
|
|
|
rev = version;
|
2021-04-01 15:39:22 +01:00
|
|
|
sha256 = "sha256-oEf4GnvbQ6LY4NaNFWRmnNz1TK2tMpIVUxskhU38g4w=";
|
2019-11-29 17:25:43 +00:00
|
|
|
};
|
|
|
|
|
2020-10-24 14:12:14 +01:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
aiohttp
|
2021-01-01 21:05:10 +00:00
|
|
|
aiosqlite
|
2020-10-24 14:12:14 +01:00
|
|
|
crccheck
|
|
|
|
pycrypto
|
|
|
|
pycryptodome
|
|
|
|
voluptuous
|
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
asynctest
|
|
|
|
pytest-aiohttp
|
|
|
|
pytest-asyncio
|
|
|
|
pytestCheckHook
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2019-11-29 17:25:43 +00:00
|
|
|
description = "Library implementing a ZigBee stack";
|
|
|
|
homepage = "https://github.com/zigpy/zigpy";
|
|
|
|
license = licenses.gpl3Plus;
|
2020-07-09 13:18:52 +01:00
|
|
|
maintainers = with maintainers; [ etu mvnetbiz ];
|
2019-11-29 17:25:43 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|