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

mkchromecast: init at 5872a246 #59280

Closed

Conversation

bobvanderlinden
Copy link
Member

@bobvanderlinden bobvanderlinden commented Apr 10, 2019

Motivation for this change

This adds the mkchromecast package. i have tested this using:

nix-build -A pkgs.mkchromecast .
result/bin/mkchromecast --port 8080 --video --screencast --resolution 720p

And it would show my screen on my TV after a few moments.

The upgrade of pychromecast was not needed strictly speaking, but it seemed appropriate to enable all functionality of mkchromecast.

There wasn't a recent release, but that's something that hopefully will come (muammar/mkchromecast#244).

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • 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 nix-review --run "nix-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)
  • Assured whether relevant documentation is up to date
  • Fits CONTRIBUTING.md.

pulseaudio vorbis-tools sox lame flac faac ffmpeg
];

doCheck = false;
Copy link
Member

Choose a reason for hiding this comment

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

Why are the tests disabled? Include a comment in the expression explaining why the tests are disabled.

@@ -0,0 +1,27 @@
{ lib, fetchFromGitHub, buildPythonApplication, pulseaudio
Copy link
Member

Choose a reason for hiding this comment

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

use python3Packages as argument instead

, vorbis-tools, sox, lame, flac, faac, ffmpeg }:
buildPythonApplication rec {
pname = "mkchromecast";
version = "5872a246f0610b74fc2b197eb02dc91b96fb68cc";
Copy link
Contributor

Choose a reason for hiding this comment

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

Should be something human readable, like "unstable-2011-12-31" (change the date to the commit date of course)

@bobvanderlinden
Copy link
Member Author

Sorry for the duplicate. This was apparently already submitted and the PR is in a further stage than this one: #57033

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

4 participants