Merge pull request #122028 from fabaff/bump-python-miio

This commit is contained in:
Martin Weinelt 2021-05-08 22:02:21 +02:00 committed by GitHub
commit f701e8d085
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -24,20 +24,19 @@
buildPythonPackage rec {
pname = "python-miio";
version = "0.5.5.2";
version = "0.5.6";
disabled = pythonOlder "3.6";
format = "pyproject";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-lk7egCyj+vSsaXmxuWxlQuom8n3JEs/RIWwCuwTOXeI=";
sha256 = "sha256-tmGt50xBDV++/pqyXsuxHdrwv+XbkjvtrzsYBzQh7zE=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace 'croniter = "^0"' 'croniter = "*"' \
--replace 'defusedxml = "^0.6"' 'defusedxml = "*"' \
--replace 'zeroconf = "^0.28"' 'zeroconf = "*"'
--replace 'defusedxml = "^0.6"' 'defusedxml = "*"'
'';
nativeBuildInputs = [

View file

@ -390,6 +390,7 @@ in with py.pkgs; buildPythonApplication rec {
"wled"
"workday"
"worldclock"
"xiaomi_miio"
"yeelight"
"zeroconf"
"zha"