mpvScripts.mpvacious: Add updateScript

This commit is contained in:
nicoo 2023-12-09 19:50:56 +00:00
parent 160de305f5
commit 8ada220063

View File

@ -1,6 +1,7 @@
{ lib
, buildLua
, fetchFromGitHub
, gitUpdater
, curl
, wl-clipboard
, xclip
@ -16,6 +17,9 @@ buildLua rec {
rev = "v${version}";
sha256 = "sha256-XTnib4cguWFEvZtmsLfkesbjFbkt2YoyYLT587ajyUM=";
};
passthru.updateScript = gitUpdater {
rev-prefix = "v";
};
postPatch = ''
substituteInPlace utils/forvo.lua \