-
-
Notifications
You must be signed in to change notification settings - Fork 15.4k
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
plex-mpv-shim: init at 1.7.12 #77884
Conversation
7fe056d
to
5dbdebd
Compare
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 second commit message should include unstable-2020-02-01
as the version, otherwise LGTM
6d9c4e0
to
1e9c517
Compare
@jonringer thanks! Updated the commit message to the correct format, (and bumped the unstable package to the latest commit). |
1e9c517
to
ef5adec
Compare
Update |
|
||
buildPythonPackage rec { | ||
pname = "mpv-jsonipc"; | ||
version = "unstable-2020-02-19"; |
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.
version = "unstable-2020-02-19"; | |
version = "unstable-2020-02-19"; | |
disabled = pythonOlder "3.6"; |
to avoid:
Processing ./python_mpv_jsonipc-1.1.5-py2-none-any.whl
ERROR: Package 'python-mpv-jsonipc' requires a different Python: 2.7.17 not in '>=3.6'
cannot build derivation '/nix/store/y6499z8wxmlqjxpf8dgwim4pylqa9l7w-plex-mpv-shim-1.7.12.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/akz7a2cxndlbmq4k3hkx6y7lj7318dwl-env.drv': 2 dependencies couldn't be built
[3 built (2 failed), 1 copied (0.2 MiB), 0.0 MiB DL]
error: build of '/nix/store/akz7a2cxndlbmq4k3hkx6y7lj7318dwl-env.drv' failed
https://github.com/NixOS/nixpkgs/pull/77884
2 package failed to build:
plex-mpv-shim python27Packages.mpv-jsonipc
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.
Updated per your suggestion. Pushed. nix-review pr 77884
passes now.
Question -- I understand why nix review tested the python36 review, but why does it look like yours try to build plex-mpv-shim with python36 whereas I was using plex-mpv-shim happily (aka, it wasn't building with python36 on my machine).
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.
Okay, thanks. nix-review pr 77884
passes now.
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.
I pulled it from their assertion: Python: 2.7.17 not in '>=3.6'
873c56c
to
312851d
Compare
, tqdm, websocket_client, pythonOlder }: | ||
|
||
buildPythonPackage rec { | ||
pname = "mpv-jsonipc"; |
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.
this should match the pypi name https://pypi.org/project/python-mpv-jsonipc/
pname = "mpv-jsonipc"; | |
pname = "python-mpv-jsonipc"; |
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.
I didn't realize it was being published on pypi. They're not tagging releases on GitHub though. I'm going to file an issue so we can ship a tagged release instead.
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 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.
@jonringer: I've got the pname change staged here locally, do I need to also rename the file?
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.
yes please
312851d
to
e2e1ad9
Compare
e2e1ad9
to
09cf4ed
Compare
09cf4ed
to
b1dde61
Compare
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
[4 built, 5 copied (16.7 MiB), 3.3 MiB DL]
https://github.com/NixOS/nixpkgs/pull/77884
3 package built:
plex-mpv-shim python37Packages.python-mpv-jsonipc python38Packages.python-mpv-jsonipc
@GrahamcOfBorg build plex-mpv-shim python37Packages.python-mpv-jsonipc python38Packages.python-mpv-jsonipc |
When I install and run
|
@matthew-piziak Feel free to open a new issue. That should be a non-fatal error. If I get past it, I just hit another with the GUI. I think we can consider the GUI unsupported for now (didn't know it existed), but a new issue for it would be good. |
To clarify what I just wrote, you can ignore that error about pystray. If you ignore it, plex-mpv-shim still works as expected. If I patch plex-mpv-shim to see pystray, it just hits an error about tkinter and gives up on the GUI again. |
Tested. Working as best as it can, I think.
(Specifically on an RPi4 with Sway)
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)