python3Packages.bellows: 0.25.0 -> 0.26.0
This commit is contained in:
parent
41bc3eeccd
commit
63b382f718
|
@ -3,31 +3,29 @@
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, click
|
, click
|
||||||
, click-log
|
, click-log
|
||||||
|
, dataclasses
|
||||||
, pure-pcapy3
|
, pure-pcapy3
|
||||||
, pyserial-asyncio
|
, pyserial-asyncio
|
||||||
, voluptuous
|
, voluptuous
|
||||||
, zigpy
|
, zigpy
|
||||||
, asynctest
|
, asynctest
|
||||||
|
, pythonOlder
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, pytest-asyncio
|
, pytest-asyncio
|
||||||
|
, pytest-timeout
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "bellows";
|
pname = "bellows";
|
||||||
version = "0.25.0";
|
version = "0.26.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "zigpy";
|
owner = "zigpy";
|
||||||
repo = "bellows";
|
repo = "bellows";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "1836wm8whbryp31zdaj3b6w40sx1wjsxgpjdb1x9rgmwff4d1hc0";
|
sha256 = "0qbsk5iv3vrpwz7kfmjdbc66rfkg788p6wwxbf6jzfarfhcgrh3k";
|
||||||
};
|
};
|
||||||
|
|
||||||
prePatch = ''
|
|
||||||
substituteInPlace setup.py \
|
|
||||||
--replace "click-log==0.2.1" "click-log>=0.2.1"
|
|
||||||
'';
|
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
click
|
click
|
||||||
click-log
|
click-log
|
||||||
|
@ -35,16 +33,31 @@ buildPythonPackage rec {
|
||||||
pyserial-asyncio
|
pyserial-asyncio
|
||||||
voluptuous
|
voluptuous
|
||||||
zigpy
|
zigpy
|
||||||
|
] ++ lib.optionals (pythonOlder "3.7") [
|
||||||
|
dataclasses
|
||||||
];
|
];
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
asynctest
|
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
pytest-asyncio
|
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; {
|
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";
|
homepage = "https://github.com/zigpy/bellows";
|
||||||
license = licenses.gpl3Plus;
|
license = licenses.gpl3Plus;
|
||||||
maintainers = with maintainers; [ etu mvnetbiz ];
|
maintainers = with maintainers; [ etu mvnetbiz ];
|
||||||
|
|
Loading…
Reference in a new issue