Skip to content
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.denonavr: init at 0.7.10 #78012

Merged
merged 1 commit into from Jan 21, 2020

Conversation

colemickens
Copy link
Member

Motivation for this change

This is used by home-assistant when one of the denon components is used.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

@colemickens
Copy link
Member Author

@jonringer: Thanks! This was my first one to fixup doCheck on and it went well! Thanks for the guidance.

Comment on lines 16 to 17
doCheck = true;
checkInputs = [ tox ];
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we don't need tox in nix, nix does that for us (abstracts over python version), instead:

  checkInputs = [ pytest ];
  checkPhase = ''
    pytest tests
  '';

@colemickens
Copy link
Member Author

Thanks, fixed up. Tests run now, had to add another checkInput for it.

@colemickens
Copy link
Member Author

Let me know if this is an okay approach, otherwise I will have to package pypi/project/html just for testing this under python2.7.

Copy link
Contributor

@jonringer jonringer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

diff LGTM
commit LGTM
has tests 👍

[5 built, 0.0 MiB DL]
https://github.com/NixOS/nixpkgs/pull/78012
3 package built:
python27Packages.denonavr python37Packages.denonavr python38Packages.denonavr

@jonringer
Copy link
Contributor

@GrahamcOfBorg build python27Packages.denonavr python37Packages.denonavr python38Packages.denonavr

@jonringer
Copy link
Contributor

darwin builds are timing out, if it's broken, we will revisit it :)

@jonringer jonringer merged commit bb92cfd into NixOS:master Jan 21, 2020
@colemickens colemickens deleted the nixpkgs-ha-pkgs-denon branch January 30, 2020 09:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants