2020-10-24 15:26:06 +01:00
|
|
|
{ stdenv
|
|
|
|
, async-timeout
|
|
|
|
, asynctest
|
|
|
|
, buildPythonPackage
|
|
|
|
, coloredlogs
|
|
|
|
, coveralls
|
|
|
|
, fetchFromGitHub
|
|
|
|
, pyserial
|
|
|
|
, pyserial-asyncio
|
|
|
|
, pytest-asyncio
|
|
|
|
, pytest-mock
|
|
|
|
, pytest-timeout
|
|
|
|
, pytestcov
|
|
|
|
, pytestCheckHook
|
|
|
|
, voluptuous
|
|
|
|
, zigpy }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "zigpy-znp";
|
2020-12-10 07:02:24 +00:00
|
|
|
version = "0.3.0";
|
2020-10-24 15:26:06 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "zha-ng";
|
|
|
|
repo = "zigpy-znp";
|
|
|
|
rev = "v${version}";
|
2020-12-10 07:02:24 +00:00
|
|
|
sha256 = "18dav2n5fqdigf8dl7gcqa9z8l6p2ig6l5q78gqg2wj7wjpncwyj";
|
2020-10-24 15:26:06 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
async-timeout
|
|
|
|
coloredlogs
|
|
|
|
pyserial
|
|
|
|
pyserial-asyncio
|
|
|
|
voluptuous
|
|
|
|
zigpy
|
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
asynctest
|
|
|
|
coveralls
|
|
|
|
pytest-asyncio
|
|
|
|
pytest-mock
|
|
|
|
pytest-timeout
|
|
|
|
pytestcov
|
|
|
|
pytestCheckHook
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A library for zigpy which communicates with TI ZNP radios";
|
|
|
|
homepage = "https://github.com/zha-ng/zigpy-znp";
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
maintainers = with maintainers; [ mvnetbiz ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|