-
-
Notifications
You must be signed in to change notification settings - Fork 15.5k
pythonPackages.pynanoleaf: init at 0.0.5 #82962
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
Conversation
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.
the expression seams reasonable, didn't test though
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.
otherwise LGTM
[4 built, 0.0 MiB DL]
https://github.com/NixOS/nixpkgs/pull/82962
2 package built:
python37Packages.pynanoleaf python38Packages.pynanoleaf
propagatedBuildInputs = [ requests ]; | ||
|
||
meta = with lib; { | ||
homepage = https://github.com/Oro/pynanoleaf; |
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.
rfc 45
homepage = https://github.com/Oro/pynanoleaf; | |
homepage = "https://github.com/Oro/pynanoleaf"; |
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 review! Force pushed the suggested change
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.
There are no tests included. Please try to checkout from source and check if they have unit tests, and try to run them. Unit tests give a good indication that they package has a high degree of validity and correctness given the python package set.
If tests are not available, then please use pythonImportsCheck
to import the most important modules. This isn't as good as unit tests, but will usually give a good indication of run-time errors.
----------------------------------------------------------------------
Ran 0 tests in 0.000s
pynanoleaf does not have any unit tests. Force pushed skipping tests and pythonImportsCheck, hope that this is the correct way of handling this! Thanks again for the review (sidenote: there was a dangling whitespace which presumably got included unintentionally by me after running parse-requirements.py for home-assistant, I also force pushed a clean parse-requirements run here without the dangling whitespace) |
Yes, rebasing and force pushing is the correct way to handle this |
@GrahamcOfBorg build python3Packages.pynanoleaf |
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.
diff LGTM
commits LGTM
https://github.com/NixOS/nixpkgs/pull/82962
2 package built:
python37Packages.pynanoleaf python38Packages.pynanoleaf
Congrats @Oro on your first nixpkgs PR :) |
Motivation for this change
Nanoleaf 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)