Files
nixpkgs/pkgs/development/web/playwright/ffmpeg.nix
2026-03-15 20:00:55 +00:00

25 lines
601 B
Nix

{
fetchzip,
revision,
system,
throwSystem,
}:
let
download =
(import ./browser-downloads.nix {
name = "ffmpeg";
inherit revision;
}).${system} or throwSystem;
in
fetchzip {
inherit (download) url stripRoot;
hash =
{
x86_64-linux = "sha256-AWTiui+ccKHxsIaQSgc5gWCJT5gYwIWzAEqSuKgVqZU=";
aarch64-linux = "sha256-1mOKO2lcnlwLsC6ob//xKnKrCOp94pw8X14uBxCdj0Q=";
x86_64-darwin = "sha256-zJ8BMzdneV6LlEt4I034l5u86dwW4UmO/UazWikpKV4=";
aarch64-darwin = "sha256-ky10UQj+XPVGpaWAPvKd51C5brml0y9xQ6iKcrxAMRc=";
}
.${system} or throwSystem;
}