blob: 1735e151f5eb8d5b019b7ab482ea4fe4f3ed7dc7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
{
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=";
aarch64-darwin = "sha256-ky10UQj+XPVGpaWAPvKd51C5brml0y9xQ6iKcrxAMRc=";
}
.${system} or throwSystem;
}
|