python3Packages.python-miio: relax click constraint; fix cli
The CLI requires pyyaml which was previously only a checkInput.
This commit is contained in:
parent
f30ad55e2d
commit
7af140953b
1 changed files with 11 additions and 10 deletions
|
@ -35,6 +35,7 @@ buildPythonPackage rec {
|
|||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace 'click = "^7"' 'click = "*"' \
|
||||
--replace 'croniter = "^0"' 'croniter = "*"' \
|
||||
--replace 'defusedxml = "^0.6"' 'defusedxml = "*"'
|
||||
'';
|
||||
|
@ -44,24 +45,24 @@ buildPythonPackage rec {
|
|||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
click
|
||||
cryptography
|
||||
construct
|
||||
zeroconf
|
||||
attrs
|
||||
pytz
|
||||
appdirs
|
||||
tqdm
|
||||
netifaces
|
||||
android-backup
|
||||
appdirs
|
||||
attrs
|
||||
click
|
||||
construct
|
||||
croniter
|
||||
cryptography
|
||||
defusedxml
|
||||
netifaces
|
||||
pytz
|
||||
pyyaml
|
||||
tqdm
|
||||
zeroconf
|
||||
] ++ lib.optional (pythonOlder "3.8") importlib-metadata;
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
pytest-mock
|
||||
pyyaml
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "miio" ];
|
||||
|
|
Loading…
Reference in a new issue