mpvScripts.simple-mpv-ui: Add updateScript

This commit is contained in:
nicoo 2023-12-09 20:00:51 +00:00
parent 19da46d6ee
commit 0a30568c20

View File

@ -1,5 +1,7 @@
{ lib, buildLua
, fetchFromGitHub }:
, fetchFromGitHub
, gitUpdater
}:
buildLua rec {
pname = "simple-mpv-ui";
version = "3.0.0";
@ -11,6 +13,9 @@ buildLua rec {
hash = "sha256-I8lwpo3Hfpy3UnPMmHEJCdArVQnNL245NkxsYVmnMF0=";
sparseCheckout = [ "main.lua" "webui-page" ];
};
passthru.updateScript = gitUpdater {
rev-prefix = "v";
};
scriptPath = ".";
passthru.scriptName = "webui.lua";