1457765fa8
Diff: https://github.com/zigpy/bellows/compare/refs/tags/0.36.7...0.36.8 Changelog: https://github.com/zigpy/bellows/releases/tag/0.36.8
56 lines
1 KiB
Nix
56 lines
1 KiB
Nix
{ lib
|
|
, buildPythonPackage
|
|
, click
|
|
, click-log
|
|
, fetchFromGitHub
|
|
, pure-pcapy3
|
|
, pyserial-asyncio
|
|
, pytest-asyncio
|
|
, pytest-timeout
|
|
, pytestCheckHook
|
|
, pythonOlder
|
|
, voluptuous
|
|
, zigpy
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "bellows";
|
|
version = "0.36.8";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.8";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "zigpy";
|
|
repo = "bellows";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-+p3As+fi6mw9i5q2klFTM9QQ2JoQarwrphc6tB6C94M=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
click
|
|
click-log
|
|
pure-pcapy3
|
|
pyserial-asyncio
|
|
voluptuous
|
|
zigpy
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
pytest-asyncio
|
|
pytest-timeout
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"bellows"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Python module to implement EZSP for EmberZNet devices";
|
|
homepage = "https://github.com/zigpy/bellows";
|
|
changelog = "https://github.com/zigpy/bellows/releases/tag/${version}";
|
|
license = licenses.gpl3Plus;
|
|
maintainers = with maintainers; [ mvnetbiz ];
|
|
};
|
|
}
|