depot/third_party/nixpkgs/pkgs/applications/video/mpv/scripts/mpv-webm.nix
Default email e7ec2969af Project import generated by Copybara.
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
2024-01-13 09:15:51 +01:00

31 lines
757 B
Nix

{ lib
, buildLua
, fetchFromGitHub
, luaPackages
, unstableGitUpdater
}:
buildLua {
pname = "mpv-webm";
version = "unstable-2023-11-18";
src = fetchFromGitHub {
owner = "ekisu";
repo = "mpv-webm";
rev = "6b5863f68275b3dc91c2507284c039ec8a4cbd97";
hash = "sha256-rJamBm6FyxWcJO7VXXOUTO9piWCkPfEVdqGKGeJ/h0c=";
};
passthru.updateScript = unstableGitUpdater {};
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 ];
};
}