mpvScripts.mpv-webm: Fix updateScript
nix-update does not seem to work through helpers like `buildLua`.
This commit is contained in:
parent
2403dae1fa
commit
0f604eff4a
@ -2,7 +2,7 @@
|
|||||||
, buildLua
|
, buildLua
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, luaPackages
|
, luaPackages
|
||||||
, nix-update-script
|
, unstableGitUpdater
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildLua {
|
buildLua {
|
||||||
@ -15,15 +15,12 @@ buildLua {
|
|||||||
rev = "6b5863f68275b3dc91c2507284c039ec8a4cbd97";
|
rev = "6b5863f68275b3dc91c2507284c039ec8a4cbd97";
|
||||||
hash = "sha256-rJamBm6FyxWcJO7VXXOUTO9piWCkPfEVdqGKGeJ/h0c=";
|
hash = "sha256-rJamBm6FyxWcJO7VXXOUTO9piWCkPfEVdqGKGeJ/h0c=";
|
||||||
};
|
};
|
||||||
|
passthru.updateScript = unstableGitUpdater {};
|
||||||
|
|
||||||
dontBuild = false;
|
dontBuild = false;
|
||||||
nativeBuildInputs = [ luaPackages.moonscript ];
|
nativeBuildInputs = [ luaPackages.moonscript ];
|
||||||
scriptPath = "build/webm.lua";
|
scriptPath = "build/webm.lua";
|
||||||
|
|
||||||
passthru.updateScript = nix-update-script {
|
|
||||||
extraArgs = [ "--version=branch" ];
|
|
||||||
};
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Simple WebM maker for mpv, with no external dependencies";
|
description = "Simple WebM maker for mpv, with no external dependencies";
|
||||||
homepage = "https://github.com/ekisu/mpv-webm";
|
homepage = "https://github.com/ekisu/mpv-webm";
|
||||||
|
Loading…
Reference in New Issue
Block a user