blob: f6ea2d06b130d555f6b243e61f0f2638c17787ca (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
{
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;
}
|