2023-10-09 19:29:22 +00:00
|
|
|
{ lib
|
2024-01-02 11:29:13 +00:00
|
|
|
, buildLua
|
2023-10-09 19:29:22 +00:00
|
|
|
, fetchFromGitHub
|
|
|
|
, luaPackages
|
2024-01-13 08:15:51 +00:00
|
|
|
, unstableGitUpdater
|
2023-10-09 19:29:22 +00:00
|
|
|
}:
|
|
|
|
|
2024-01-02 11:29:13 +00:00
|
|
|
buildLua {
|
2023-10-09 19:29:22 +00:00
|
|
|
pname = "mpv-webm";
|
2024-01-02 11:29:13 +00:00
|
|
|
version = "unstable-2023-11-18";
|
2023-10-09 19:29:22 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ekisu";
|
|
|
|
repo = "mpv-webm";
|
2024-01-02 11:29:13 +00:00
|
|
|
rev = "6b5863f68275b3dc91c2507284c039ec8a4cbd97";
|
|
|
|
hash = "sha256-rJamBm6FyxWcJO7VXXOUTO9piWCkPfEVdqGKGeJ/h0c=";
|
2023-10-09 19:29:22 +00:00
|
|
|
};
|
2024-01-13 08:15:51 +00:00
|
|
|
passthru.updateScript = unstableGitUpdater {};
|
2023-10-09 19:29:22 +00:00
|
|
|
|
2024-01-02 11:29:13 +00:00
|
|
|
dontBuild = false;
|
2023-10-09 19:29:22 +00:00
|
|
|
nativeBuildInputs = [ luaPackages.moonscript ];
|
2024-01-02 11:29:13 +00:00
|
|
|
scriptPath = "build/webm.lua";
|
2023-10-09 19:29:22 +00:00
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|