2021-05-06 19:56:46 +00:00
|
|
|
{ lib, appleDerivation', stdenvNoCC }:
|
2015-02-08 06:53:52 +00:00
|
|
|
|
2021-05-06 19:56:46 +00:00
|
|
|
appleDerivation' stdenvNoCC {
|
2018-05-06 21:07:55 +00: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/" ""
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2015-02-08 06:53:52 +00:00
|
|
|
maintainers = with maintainers; [ copumpkin ];
|
|
|
|
platforms = platforms.darwin;
|
|
|
|
license = licenses.apsl20;
|
|
|
|
};
|
|
|
|
}
|