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-04-01 15:41:50 +01:00
|
|
|
version = "0.12.0";
|
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-04-01 15:41:50 +01:00
|
|
|
sha256 = "sha256-d/yAk8owMu+J1BzlwR5mzF9HkXiE6Kc81AznvsAboy8=";
|
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;
|
|
|
|
};
|
|
|
|
}
|