2015-02-08 06:53:52 +00:00
|
|
|
{ stdenv, appleDerivation }:
|
|
|
|
|
|
|
|
appleDerivation {
|
2018-05-06 22:07:55 +01:00
|
|
|
dontBuild = true;
|
|
|
|
|
2015-02-08 06:53:52 +00:00
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/include
|
|
|
|
cp MacTypes.h $out/include
|
|
|
|
cp ConditionalMacros.h $out/include
|
|
|
|
|
|
|
|
substituteInPlace $out/include/MacTypes.h \
|
|
|
|
--replace "CarbonCore/" ""
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
maintainers = with maintainers; [ copumpkin ];
|
|
|
|
platforms = platforms.darwin;
|
|
|
|
license = licenses.apsl20;
|
|
|
|
};
|
|
|
|
}
|