2014-09-30 03:54:45 +01:00
|
|
|
{ stdenv }:
|
|
|
|
|
|
|
|
let
|
|
|
|
version = "10.9";
|
2015-06-22 04:29:33 +01:00
|
|
|
in stdenv.mkDerivation rec {
|
2014-09-30 03:54:45 +01:00
|
|
|
name = "MacOSX10.9.sdk";
|
|
|
|
|
|
|
|
src = "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk";
|
|
|
|
|
2016-05-04 11:08:35 +01:00
|
|
|
unpackPhase = "true";
|
|
|
|
dontBuild = true;
|
2014-09-30 03:54:45 +01:00
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/Developer/SDKs/
|
|
|
|
echo "Source is: $src"
|
|
|
|
cp -r $src $out/Developer/SDKs/
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "The Mac OS ${version} SDK";
|
|
|
|
maintainers = with maintainers; [ copumpkin ];
|
|
|
|
platforms = platforms.darwin;
|
|
|
|
license = licenses.unfree;
|
|
|
|
};
|
2015-06-22 04:29:33 +01:00
|
|
|
}
|