python3Packages.bellows: 0.21.0 -> 0.22.0

This commit is contained in:
Martin Weinelt 2021-03-03 23:53:13 +01:00
parent 7a7b2c47cb
commit 71d0d4ddce
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -1,21 +1,40 @@
{ lib, buildPythonPackage, fetchFromGitHub
, click, click-log, pure-pcapy3
, pyserial-asyncio, voluptuous, zigpy
, asynctest, pytestCheckHook, pytest-asyncio }:
{ lib
, buildPythonPackage
, fetchFromGitHub
, click
, click-log
, pure-pcapy3
, pyserial-asyncio
, voluptuous
, zigpy
, asynctest
, pytestCheckHook
, pytest-asyncio
}:
buildPythonPackage rec {
pname = "bellows";
version = "0.21.0";
version = "0.22.0";
src = fetchFromGitHub {
owner = "zigpy";
repo = "bellows";
rev = version;
sha256 = "1gja7cb1cyzbi19k8awa2gyc3bjam0adapalpk5slxny0vxlc73a";
sha256 = "0il2cwnrcvgxx9jkj1xr2caqyza3kqjys3fpmcx7avy04xbf5dbv";
};
prePatch = ''
substituteInPlace setup.py \
--replace "click-log==0.2.1" "click-log>=0.2.1"
'';
propagatedBuildInputs = [
click click-log pure-pcapy3 pyserial-asyncio voluptuous zigpy
click
click-log
pure-pcapy3
pyserial-asyncio
voluptuous
zigpy
];
checkInputs = [
@ -24,11 +43,6 @@ buildPythonPackage rec {
pytest-asyncio
];
prePatch = ''
substituteInPlace setup.py \
--replace "click-log==0.2.0" "click-log>=0.2.0"
'';
meta = with lib; {
description = "A Python 3 project to implement EZSP for EmberZNet devices";
homepage = "https://github.com/zigpy/bellows";