From 4dd23ff329c4ced1049d0b39c30f3cf75a66a4f9 Mon Sep 17 00:00:00 2001 From: Sefa Eyeoglu Date: Mon, 7 Aug 2023 10:40:26 +0200 Subject: [PATCH] jellyfin-mpv-shim: fix requirements python-mpv has been renamed to mpv, while mpv-jsonipc's package name is python_mpv_jsonipc Signed-off-by: Sefa Eyeoglu --- pkgs/applications/video/jellyfin-mpv-shim/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/applications/video/jellyfin-mpv-shim/default.nix b/pkgs/applications/video/jellyfin-mpv-shim/default.nix index 81bfbe4a39b0..a5c6a7beb06b 100644 --- a/pkgs/applications/video/jellyfin-mpv-shim/default.nix +++ b/pkgs/applications/video/jellyfin-mpv-shim/default.nix @@ -61,6 +61,10 @@ buildPythonApplication rec { substituteInPlace jellyfin_mpv_shim/conf.py \ --replace "check_updates: bool = True" "check_updates: bool = False" \ --replace "notify_updates: bool = True" "notify_updates: bool = False" + # python-mpv renamed to mpv with 1.0.4 + substituteInPlace setup.py \ + --replace "python-mpv" "mpv" \ + --replace "mpv-jsonipc" "python_mpv_jsonipc" ''; # Install all the icons for the desktop item