From 183a4ceba7ff7f3992ed6184c18d7b33e2edf40e Mon Sep 17 00:00:00 2001 From: nicoo Date: Thu, 9 Nov 2023 17:04:46 +0000 Subject: [PATCH] =?UTF-8?q?mpvScripts.simple-mpv-ui:=202.1.0=20=E2=86=92?= =?UTF-8?q?=203.0.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkgs/applications/video/mpv/scripts/simple-mpv-webui.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pkgs/applications/video/mpv/scripts/simple-mpv-webui.nix b/pkgs/applications/video/mpv/scripts/simple-mpv-webui.nix index 7920796b7840..c3b53c618396 100644 --- a/pkgs/applications/video/mpv/scripts/simple-mpv-webui.nix +++ b/pkgs/applications/video/mpv/scripts/simple-mpv-webui.nix @@ -2,17 +2,18 @@ , fetchFromGitHub }: buildLua rec { pname = "simple-mpv-ui"; - version = "2.1.0"; + version = "3.0.0"; src = fetchFromGitHub { owner = "open-dynaMIX"; repo = "simple-mpv-webui"; rev = "v${version}"; - sha256 = "1z0y8sdv5mbxznxqh43w5592ym688vkvqg7w26p8cinrhf09pbw8"; + hash = "sha256-I8lwpo3Hfpy3UnPMmHEJCdArVQnNL245NkxsYVmnMF0="; + sparseCheckout = [ "main.lua" "webui-page" ]; }; - scriptPath = "webui.lua"; - postInstall = "cp -a webui-page $out/share/mpv/scripts/"; + scriptPath = "."; + passthru.scriptName = "webui.lua"; meta = with lib; { description = "A web based user interface with controls for the mpv mediaplayer";