forked from mirrors/nixpkgs
51 lines
887 B
Nix
51 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.30.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "zigpy";
|
|
repo = "zigpy";
|
|
rev = version;
|
|
sha256 = "14qyxm7bj62fsvxfp6x3r1ygjlv7q3jjvq6gzj30na78x1fqr9g1";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|