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

plex-mpv-shim: rename dependency python-mpv -> mpv
This commit is contained in:
Matthias Beyer
2023-08-20 10:25:40 +02:00
committed by GitHub
@@ -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