Merge pull request #250259 from devusb/plex-mpv-shim

plex-mpv-shim: rename dependency python-mpv -> mpv

authored by

Matthias Beyer and committed by
GitHub
121ca823 3ff88c2e

+9 -1
+9 -1
pkgs/applications/video/plex-mpv-shim/default.nix
··· 1 - { lib, buildPythonApplication, fetchFromGitHub, python, mpv, requests, python-mpv-jsonipc, pystray, tkinter 2 , wrapGAppsHook, gobject-introspection, mpv-shim-default-shaders }: 3 4 buildPythonApplication rec { ··· 11 rev = "refs/tags/v${version}"; 12 sha256 = "sha256-hUGKOJEDZMK5uhHoevFt1ay6QQEcoN4F8cPxln5uMRo="; 13 }; 14 15 nativeBuildInputs = [ 16 wrapGAppsHook
··· 1 + { lib, buildPythonApplication, fetchFromGitHub, fetchpatch, python, mpv, requests, python-mpv-jsonipc, pystray, tkinter 2 , wrapGAppsHook, gobject-introspection, mpv-shim-default-shaders }: 3 4 buildPythonApplication rec { ··· 11 rev = "refs/tags/v${version}"; 12 sha256 = "sha256-hUGKOJEDZMK5uhHoevFt1ay6QQEcoN4F8cPxln5uMRo="; 13 }; 14 + 15 + patches = [ 16 + # pull in upstream commit to fix python-mpv dependency name -- remove when version > 1.11.0 17 + (fetchpatch { 18 + url = "https://github.com/iwalton3/plex-mpv-shim/commit/d8643123a8ec79216e02850b08f63b06e4e0a2ea.diff"; 19 + hash = "sha256-nc+vwYnAtMjVzL2fIQeTAqhf3HBseL+2pFEtv8zNUXo="; 20 + }) 21 + ]; 22 23 nativeBuildInputs = [ 24 wrapGAppsHook