mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-11 18:32:23 +08:00
Resolves #430685 This was the only user of `fetchurl` which was using `-r`, which is incompatible with `--continue-at -` from4d7a4fbd9f. Rather than engineer a way to pass range options to `fetchurl`, let's just make a custom builder for this derivation. It actually makes the whole thing more clear. (cherry picked from commit252b0b5c33)
37 lines
754 B
Nix
37 lines
754 B
Nix
{
|
|
lib,
|
|
stdenvNoCC,
|
|
curl,
|
|
unrar-wrapper,
|
|
}:
|
|
|
|
stdenvNoCC.mkDerivation {
|
|
pname = "facetimehd-calibration";
|
|
version = "5.1.5769";
|
|
|
|
# This is a special sort of fixed-output derivation
|
|
outputHash = "sha256-KQBIlpa68wjQNgBiEnLtl6iEYseNrTlSdq9wiNni16k=";
|
|
outputHashMode = "recursive";
|
|
|
|
__structuredAttrs = true;
|
|
builder = ./builder.sh;
|
|
|
|
nativeBuildInputs = [
|
|
curl
|
|
unrar-wrapper
|
|
];
|
|
|
|
meta = {
|
|
description = "facetimehd calibration";
|
|
homepage = "https://support.apple.com/kb/DL1837";
|
|
license = lib.licenses.unfree;
|
|
maintainers = with lib.maintainers; [
|
|
alexshpilkin
|
|
womfoo
|
|
grahamc
|
|
];
|
|
platforms = lib.platforms.all;
|
|
sourceProvenance = with lib.sourceTypes; [ binaryFirmware ];
|
|
};
|
|
}
|