2021-05-28 09:39:13 +00:00
|
|
|
{ lib, appleDerivation', stdenvNoCC }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-05-28 09:39:13 +00:00
|
|
|
appleDerivation' stdenvNoCC {
|
2020-04-24 23:36:52 +00:00
|
|
|
dontBuild = true;
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/include
|
|
|
|
cp MacTypes.h $out/include
|
|
|
|
cp ConditionalMacros.h $out/include
|
|
|
|
|
|
|
|
substituteInPlace $out/include/MacTypes.h \
|
|
|
|
--replace "CarbonCore/" ""
|
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
maintainers = with maintainers; [ copumpkin ];
|
|
|
|
platforms = platforms.darwin;
|
|
|
|
license = licenses.apsl20;
|
|
|
|
};
|
|
|
|
}
|