Merge pull request #122028 from fabaff/bump-python-miio
This commit is contained in:
commit
f701e8d085
@ -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 = [
|
||||||
|
@ -390,6 +390,7 @@ in with py.pkgs; buildPythonApplication rec {
|
|||||||
"wled"
|
"wled"
|
||||||
"workday"
|
"workday"
|
||||||
"worldclock"
|
"worldclock"
|
||||||
|
"xiaomi_miio"
|
||||||
"yeelight"
|
"yeelight"
|
||||||
"zeroconf"
|
"zeroconf"
|
||||||
"zha"
|
"zha"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user