diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2023-08-20 10:25:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-20 10:25:40 +0200 |
commit | 121ca823109257d115cd2bef799417785d5b2b11 (patch) | |
tree | 8d2db5bd71b345f6e46594ad6eb793fee1e28422 /pkgs/applications/video | |
parent | 3ff88c2eff78c2bc28e9fe7b4a7025751ac6b8a4 (diff) | |
parent | aad5a8ba8dbc49724ab56913d0f8e7ff6d1a9825 (diff) |
Merge pull request #250259 from devusb/plex-mpv-shim
plex-mpv-shim: rename dependency python-mpv -> mpv
Diffstat (limited to 'pkgs/applications/video')
-rw-r--r-- | pkgs/applications/video/plex-mpv-shim/default.nix | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/pkgs/applications/video/plex-mpv-shim/default.nix b/pkgs/applications/video/plex-mpv-shim/default.nix index 00651deababc3..90f18613ca07e 100644 --- a/pkgs/applications/video/plex-mpv-shim/default.nix +++ b/pkgs/applications/video/plex-mpv-shim/default.nix @@ -1,4 +1,4 @@ -{ lib, buildPythonApplication, fetchFromGitHub, python, mpv, requests, python-mpv-jsonipc, pystray, tkinter +{ lib, buildPythonApplication, fetchFromGitHub, fetchpatch, python, mpv, requests, python-mpv-jsonipc, pystray, tkinter , wrapGAppsHook, gobject-introspection, mpv-shim-default-shaders }: buildPythonApplication rec { @@ -12,6 +12,14 @@ buildPythonApplication rec { sha256 = "sha256-hUGKOJEDZMK5uhHoevFt1ay6QQEcoN4F8cPxln5uMRo="; }; + patches = [ + # pull in upstream commit to fix python-mpv dependency name -- remove when version > 1.11.0 + (fetchpatch { + url = "https://github.com/iwalton3/plex-mpv-shim/commit/d8643123a8ec79216e02850b08f63b06e4e0a2ea.diff"; + hash = "sha256-nc+vwYnAtMjVzL2fIQeTAqhf3HBseL+2pFEtv8zNUXo="; + }) + ]; + nativeBuildInputs = [ wrapGAppsHook gobject-introspection |