Files
nixpkgs/pkgs/applications/video/mpv/scripts/mpv-webm.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

36 lines
842 B
Nix
Raw Normal View History

2025-10-09 14:15:47 +02:00
{
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 ];
};
}