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-08-06 21:49:36 +01:00
|
|
|
version = "0.12.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;
|
2021-08-06 21:49:36 +01:00
|
|
|
sha256 = "sha256-NpLhVQfezXbJQMvqqZjr9sc8tCjJgGu5Xk3C5/IDeUQ=";
|
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;
|
|
|
|
};
|
|
|
|
}
|