nixpkgs/pkgs/development/web/playwright/ffmpeg.nix
phaer 67b5c21b58 playwright: Use pre-built browsers, update them...
via update.sh. This lets us support playwright with browsers
other than chromium on linux. Building them from source would
be one step further.
2024-09-20 14:52:35 +02:00

18 lines
394 B
Nix

{
fetchzip,
suffix,
revision,
system,
throwSystem,
}:
fetchzip {
url = "https://playwright.azureedge.net/builds/ffmpeg/${revision}/ffmpeg-${suffix}.zip";
stripRoot = false;
hash =
{
x86_64-linux = "sha256-FEm62UvMv0h6Sav93WmbPLw3CW1L1xg4nD26ca5ol38=";
aarch64-linux = "sha256-jtQ+NS++VHRiKoIV++PIxEnyVnYtVwUyNlSILKSH4A4=";
}
.${system} or throwSystem;
}