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
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 = [