diff options
author | Morgan Helton <mhelton@gmail.com> | 2023-05-14 09:00:54 -0500 |
---|---|---|
committer | Morgan Helton <mhelton@gmail.com> | 2023-05-14 17:31:03 -0500 |
commit | ca89dec4c365133448c82a81bddc7c984a3ace79 (patch) | |
tree | 9e0078b8c18ab0282757c094e00c9b18497ba68b /pkgs/applications/video/plex-mpv-shim | |
parent | c2adda6f9d6937683aa35a73137281a3180833cb (diff) |
plex-mpv-shim: add mpv-shim-default-shaders
Diffstat (limited to 'pkgs/applications/video/plex-mpv-shim')
-rw-r--r-- | pkgs/applications/video/plex-mpv-shim/default.nix | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/pkgs/applications/video/plex-mpv-shim/default.nix b/pkgs/applications/video/plex-mpv-shim/default.nix index 3fb6c2486bf46..00651deababc3 100644 --- a/pkgs/applications/video/plex-mpv-shim/default.nix +++ b/pkgs/applications/video/plex-mpv-shim/default.nix @@ -1,5 +1,5 @@ -{ lib, buildPythonApplication, fetchFromGitHub, mpv, requests, python-mpv-jsonipc, pystray, tkinter -, wrapGAppsHook, gobject-introspection }: +{ lib, buildPythonApplication, fetchFromGitHub, python, mpv, requests, python-mpv-jsonipc, pystray, tkinter +, wrapGAppsHook, gobject-introspection, mpv-shim-default-shaders }: buildPythonApplication rec { pname = "plex-mpv-shim"; @@ -25,6 +25,11 @@ buildPythonApplication rec { ''; dontWrapGApps = true; + postInstall = '' + # put link to shaders where upstream package expects them + ln -s ${mpv-shim-default-shaders}/share/mpv-shim-default-shaders $out/${python.sitePackages}/plex_mpv_shim/default_shader_pack + ''; + # does not contain tests doCheck = false; @@ -33,5 +38,6 @@ buildPythonApplication rec { description = "Allows casting of videos to MPV via the Plex mobile and web app"; maintainers = with maintainers; [ devusb ]; license = licenses.mit; + platforms = platforms.linux; }; } |