New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pythonPackages.HAP-python: init at 2.7.0 #84895
Conversation
checkInputs = [ pytest ]; | ||
|
||
#disable tests needing network | ||
checkPhase = '' | ||
pytest -k 'not test_persist \ | ||
and not test_setup_endpoints \ | ||
and not test_auto_add_aid_mac \ | ||
and not test_service_callbacks \ | ||
and not test_send_events \ | ||
and not test_not_standalone_aid \ | ||
and not test_start_stop_async_acc \ | ||
and not test_start_stop_sync_acc' | ||
''; | ||
|
||
propagatedBuildInputs = | ||
[ curve25519-donna ed25519 cryptography ecdsa zeroconf ]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typical ordering, also, if you have many items in a list, the current best practices should look like propagatedBuildInputs below
checkInputs = [ pytest ]; | |
#disable tests needing network | |
checkPhase = '' | |
pytest -k 'not test_persist \ | |
and not test_setup_endpoints \ | |
and not test_auto_add_aid_mac \ | |
and not test_service_callbacks \ | |
and not test_send_events \ | |
and not test_not_standalone_aid \ | |
and not test_start_stop_async_acc \ | |
and not test_start_stop_sync_acc' | |
''; | |
propagatedBuildInputs = | |
[ curve25519-donna ed25519 cryptography ecdsa zeroconf ]; | |
propagatedBuildInputs = [ | |
curve25519-donna | |
ed25519 | |
cryptography | |
ecdsa | |
zeroconf | |
]; | |
checkInputs = [ pytest ]; | |
#disable tests needing network | |
checkPhase = '' | |
pytest -k 'not test_persist \ | |
and not test_setup_endpoints \ | |
and not test_auto_add_aid_mac \ | |
and not test_service_callbacks \ | |
and not test_send_events \ | |
and not test_not_standalone_aid \ | |
and not test_start_stop_async_acc \ | |
and not test_start_stop_sync_acc' | |
''; | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the quick review!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Result of nixpkgs-review pr 84895 1
Motivation for this change
Homekit connectivity for Home Assistant
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)