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

View File

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