Files
nixpkgs/pkgs/by-name/fa/facetimehd-calibration/package.nix
Philip Taron 2b26158aaf facetimehd-calibration: fix build
Resolves #430685

This was the only user of `fetchurl` which was using `-r`, which is incompatible with `--continue-at -` from 4d7a4fbd9f.
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 commit 252b0b5c33)
2025-08-28 21:12:01 +00:00

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 ];
};
}