2021-01-01 21:14:17 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
, pyserial
|
|
|
|
, pyserial-asyncio
|
|
|
|
, zigpy
|
|
|
|
, pytestCheckHook
|
|
|
|
, pytest-asyncio
|
|
|
|
, asynctest
|
|
|
|
}:
|
2019-11-29 17:31:18 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "zigpy-deconz";
|
2021-01-01 21:14:17 +00:00
|
|
|
version = "0.11.1";
|
2019-11-29 17:31:18 +00:00
|
|
|
|
2021-01-01 21:14:17 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "zigpy";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
|
|
|
sha256 = "1p9mdsfc200iyszppcflazzfwqg4v8nqqwqsx114nip5km7a5s37";
|
2019-11-29 17:31:18 +00:00
|
|
|
};
|
|
|
|
|
2021-01-01 21:14:17 +00:00
|
|
|
propagatedBuildInputs = [ pyserial pyserial-asyncio zigpy ];
|
|
|
|
checkInputs = [ pytestCheckHook pytest-asyncio asynctest ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2019-11-29 17:31:18 +00:00
|
|
|
description = "Library which communicates with Deconz radios for zigpy";
|
|
|
|
homepage = "https://github.com/zigpy/zigpy-deconz";
|
|
|
|
license = licenses.gpl3Plus;
|
2020-07-09 16:05:37 +01:00
|
|
|
maintainers = with maintainers; [ etu mvnetbiz ];
|
2019-11-29 17:31:18 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|