Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 35 lines 842 B view raw
1{ 2 lib, 3 buildLua, 4 fetchFromGitHub, 5 luaPackages, 6 unstableGitUpdater, 7}: 8 9buildLua { 10 pname = "mpv-webm"; 11 version = "0-unstable-2025-07-14"; 12 13 src = fetchFromGitHub { 14 owner = "ekisu"; 15 repo = "mpv-webm"; 16 rev = "e15234567d2064791319df1e6193fcb433602d08"; 17 hash = "sha256-C1N+fY5Xv6Y6tG3mTdymSlLlLYaA7XUvM0PZtkBTS4k="; 18 }; 19 passthru.updateScript = unstableGitUpdater { 20 # only "latest" tag pointing at HEAD 21 hardcodeZeroVersion = true; 22 }; 23 24 dontBuild = false; 25 nativeBuildInputs = [ luaPackages.moonscript ]; 26 scriptPath = "build/webm.lua"; 27 28 meta = with lib; { 29 description = "Simple WebM maker for mpv, with no external dependencies"; 30 homepage = "https://github.com/ekisu/mpv-webm"; 31 license = licenses.mit; 32 platforms = platforms.all; 33 maintainers = with maintainers; [ pbsds ]; 34 }; 35}