chromium,chromedriver: 129.0.6668.91 -> 129.0.6668.100
[NixPkgs.git] / pkgs / os-specific / darwin / apple-sdk-12.3 / CLTools_macOSNMOS_SDK.nix
blob7af2c48cc08195b06b6c535a020890395a96ec4f
2   lib,
3   stdenvNoCC,
4   fetchurl,
5   cpio,
6   pbzx,
7   version,
8 }:
10 let
11   releases = builtins.fromJSON (builtins.readFile ./apple-sdk-releases.json);
13 stdenvNoCC.mkDerivation (finalAttrs: {
14   pname = "CLTools_macOSNMOS_SDK";
15   inherit version;
17   src = fetchurl releases.${version}.${finalAttrs.pname};
19   nativeBuildInputs = [
20     cpio
21     pbzx
22   ];
24   buildCommand = ''
25     pbzx $src | cpio -idm
26     mv Library/Developer/CommandLineTools/SDKs/MacOSX${lib.versions.majorMinor version}.sdk $out
27   '';