Loading pkgs/applications/video/jellyfin-mpv-shim/default.nix +10 −8 Original line number Diff line number Diff line Loading @@ -13,6 +13,7 @@ python, python-mpv-jsonipc, pywebview, setuptools, tkinter, wrapGAppsHook3, }: Loading @@ -20,7 +21,7 @@ buildPythonApplication rec { pname = "jellyfin-mpv-shim"; version = "2.9.0"; format = "setuptools"; pyproject = true; src = fetchPypi { inherit pname version; Loading @@ -33,7 +34,9 @@ buildPythonApplication rec { gobject-introspection ]; propagatedBuildInputs = [ build-system = [ setuptools ]; dependencies = [ jellyfin-apiclient-python mpv pillow Loading Loading @@ -61,12 +64,12 @@ buildPythonApplication rec { postPatch = '' substituteInPlace jellyfin_mpv_shim/conf.py \ --replace "check_updates: bool = True" "check_updates: bool = False" \ --replace "notify_updates: bool = True" "notify_updates: bool = False" --replace-fail "check_updates: bool = True" "check_updates: bool = False" \ --replace-fail "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" --replace-fail "python-mpv" "mpv" \ --replace-fail "mpv-jsonipc" "python_mpv_jsonipc" ''; # Install all the icons for the desktop item Loading @@ -84,8 +87,6 @@ buildPythonApplication rec { ''; dontWrapGApps = true; # no tests doCheck = false; pythonImportsCheck = [ "jellyfin_mpv_shim" ]; desktopItems = [ Loading Loading @@ -113,6 +114,7 @@ buildPythonApplication rec { to prevent needless transcoding of your media files on the server. The player also has advanced features, such as bulk subtitle updates and launching commands on events. ''; changelog = "https://github.com/jellyfin/jellyfin-mpv-shim/releases/tag/v${version}"; license = with lib.licenses; [ # jellyfin-mpv-shim gpl3Only Loading Loading
pkgs/applications/video/jellyfin-mpv-shim/default.nix +10 −8 Original line number Diff line number Diff line Loading @@ -13,6 +13,7 @@ python, python-mpv-jsonipc, pywebview, setuptools, tkinter, wrapGAppsHook3, }: Loading @@ -20,7 +21,7 @@ buildPythonApplication rec { pname = "jellyfin-mpv-shim"; version = "2.9.0"; format = "setuptools"; pyproject = true; src = fetchPypi { inherit pname version; Loading @@ -33,7 +34,9 @@ buildPythonApplication rec { gobject-introspection ]; propagatedBuildInputs = [ build-system = [ setuptools ]; dependencies = [ jellyfin-apiclient-python mpv pillow Loading Loading @@ -61,12 +64,12 @@ buildPythonApplication rec { postPatch = '' substituteInPlace jellyfin_mpv_shim/conf.py \ --replace "check_updates: bool = True" "check_updates: bool = False" \ --replace "notify_updates: bool = True" "notify_updates: bool = False" --replace-fail "check_updates: bool = True" "check_updates: bool = False" \ --replace-fail "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" --replace-fail "python-mpv" "mpv" \ --replace-fail "mpv-jsonipc" "python_mpv_jsonipc" ''; # Install all the icons for the desktop item Loading @@ -84,8 +87,6 @@ buildPythonApplication rec { ''; dontWrapGApps = true; # no tests doCheck = false; pythonImportsCheck = [ "jellyfin_mpv_shim" ]; desktopItems = [ Loading Loading @@ -113,6 +114,7 @@ buildPythonApplication rec { to prevent needless transcoding of your media files on the server. The player also has advanced features, such as bulk subtitle updates and launching commands on events. ''; changelog = "https://github.com/jellyfin/jellyfin-mpv-shim/releases/tag/v${version}"; license = with lib.licenses; [ # jellyfin-mpv-shim gpl3Only Loading