python3Packages.bellows: 0.25.0 -> 0.26.0

This commit is contained in:
Fabian Affolter 2021-08-01 17:00:54 +02:00
parent 41bc3eeccd
commit 63b382f718

View file

@ -3,31 +3,29 @@
, fetchFromGitHub
, click
, click-log
, dataclasses
, pure-pcapy3
, pyserial-asyncio
, voluptuous
, zigpy
, asynctest
, pythonOlder
, pytestCheckHook
, pytest-asyncio
, pytest-timeout
}:
buildPythonPackage rec {
pname = "bellows";
version = "0.25.0";
version = "0.26.0";
src = fetchFromGitHub {
owner = "zigpy";
repo = "bellows";
rev = version;
sha256 = "1836wm8whbryp31zdaj3b6w40sx1wjsxgpjdb1x9rgmwff4d1hc0";
sha256 = "0qbsk5iv3vrpwz7kfmjdbc66rfkg788p6wwxbf6jzfarfhcgrh3k";
};
prePatch = ''
substituteInPlace setup.py \
--replace "click-log==0.2.1" "click-log>=0.2.1"
'';
propagatedBuildInputs = [
click
click-log
@ -35,16 +33,31 @@ buildPythonPackage rec {
pyserial-asyncio
voluptuous
zigpy
] ++ lib.optionals (pythonOlder "3.7") [
dataclasses
];
checkInputs = [
asynctest
pytestCheckHook
pytest-asyncio
pytest-timeout
] ++ lib.optionals (pythonOlder "3.8") [
asynctest
];
disabledTests = [
# RuntimeError: coroutine 'test_remigrate_forcibly_downgraded_v4' was never awaited
#"test_remigrate_forcibly_downgraded_v4"
# RuntimeError: Event loop is closed
"test_thread_already_stopped"
];
pythonImportsCheck = [
"bellows"
];
meta = with lib; {
description = "A Python 3 project to implement EZSP for EmberZNet devices";
description = "Python module to implement EZSP for EmberZNet devices";
homepage = "https://github.com/zigpy/bellows";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ etu mvnetbiz ];