2969ca571a
GitOrigin-RevId: 257cbbcd3ab7bd96f5d24d50adc807de7c82e06d
50 lines
887 B
Nix
50 lines
887 B
Nix
{ lib
|
|
, aiohttp
|
|
, aiosqlite
|
|
, asynctest
|
|
, buildPythonPackage
|
|
, crccheck
|
|
, fetchFromGitHub
|
|
, pycrypto
|
|
, pycryptodome
|
|
, pytest-aiohttp
|
|
, pytest-asyncio
|
|
, pytestCheckHook
|
|
, tox
|
|
, voluptuous }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "zigpy";
|
|
version = "0.29.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "zigpy";
|
|
repo = "zigpy";
|
|
rev = version;
|
|
sha256 = "1r4i2ya9f241rls9mi24dksx4srrzi8agshnqy12rclxlh7qb1aw";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
aiohttp
|
|
aiosqlite
|
|
crccheck
|
|
pycrypto
|
|
pycryptodome
|
|
voluptuous
|
|
];
|
|
|
|
checkInputs = [
|
|
asynctest
|
|
pytest-aiohttp
|
|
pytest-asyncio
|
|
pytestCheckHook
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Library implementing a ZigBee stack";
|
|
homepage = "https://github.com/zigpy/zigpy";
|
|
license = licenses.gpl3Plus;
|
|
maintainers = with maintainers; [ etu mvnetbiz ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|