mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-23 21:55:53 +02:00
python3Packages.python-miio: update decorator
This commit is contained in:
parent
8808546a35
commit
d386719c7e
|
@ -1,24 +1,24 @@
|
||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
|
||||||
, pythonOlder
|
|
||||||
, fetchPypi
|
|
||||||
, poetry-core
|
|
||||||
, click
|
|
||||||
, cryptography
|
|
||||||
, construct
|
|
||||||
, zeroconf
|
|
||||||
, attrs
|
|
||||||
, pytz
|
|
||||||
, appdirs
|
|
||||||
, tqdm
|
|
||||||
, netifaces
|
|
||||||
, android-backup
|
, android-backup
|
||||||
, importlib-metadata
|
, appdirs
|
||||||
|
, attrs
|
||||||
|
, buildPythonPackage
|
||||||
|
, click
|
||||||
|
, construct
|
||||||
, croniter
|
, croniter
|
||||||
|
, cryptography
|
||||||
, defusedxml
|
, defusedxml
|
||||||
, pytestCheckHook
|
, fetchPypi
|
||||||
|
, importlib-metadata
|
||||||
|
, netifaces
|
||||||
|
, poetry-core
|
||||||
, pytest-mock
|
, pytest-mock
|
||||||
|
, pytestCheckHook
|
||||||
|
, pythonOlder
|
||||||
|
, pytz
|
||||||
, pyyaml
|
, pyyaml
|
||||||
|
, tqdm
|
||||||
|
, zeroconf
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
|
||||||
|
@ -57,13 +57,16 @@ buildPythonPackage rec {
|
||||||
];
|
];
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
pytestCheckHook
|
|
||||||
pytest-mock
|
pytest-mock
|
||||||
|
pytestCheckHook
|
||||||
];
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace pyproject.toml \
|
substituteInPlace pyproject.toml \
|
||||||
--replace 'defusedxml = "^0"' 'defusedxml = "*"' \
|
--replace 'defusedxml = "^0"' 'defusedxml = "*"'
|
||||||
|
# Will be fixed with the next release, https://github.com/rytilahti/python-miio/pull/1378
|
||||||
|
substituteInPlace miio/integrations/vacuum/roborock/vacuum_cli.py \
|
||||||
|
--replace "resultcallback" "result_callback"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
pythonImportsCheck = [
|
pythonImportsCheck = [
|
||||||
|
|
Loading…
Reference in a new issue