{ lib, buildLua, fetchFromGitHub, luaPackages, unstableGitUpdater, }: buildLua { pname = "mpv-webm"; version = "0-unstable-2025-07-14"; src = fetchFromGitHub { owner = "ekisu"; repo = "mpv-webm"; rev = "e15234567d2064791319df1e6193fcb433602d08"; hash = "sha256-C1N+fY5Xv6Y6tG3mTdymSlLlLYaA7XUvM0PZtkBTS4k="; }; passthru.updateScript = unstableGitUpdater { # only "latest" tag pointing at HEAD hardcodeZeroVersion = true; }; dontBuild = false; nativeBuildInputs = [ luaPackages.moonscript ]; scriptPath = "build/webm.lua"; meta = with lib; { description = "Simple WebM maker for mpv, with no external dependencies"; homepage = "https://github.com/ekisu/mpv-webm"; license = licenses.mit; platforms = platforms.all; maintainers = with maintainers; [ pbsds ]; }; }