18 lines
367 B
Nix
18 lines
367 B
Nix
{ stdenv, appleDerivation }:
|
|
|
|
# all symbols are located in libSystem
|
|
appleDerivation {
|
|
phases = [ "unpackPhase" "installPhase" ];
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/include
|
|
cp *.h $out/include
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
maintainers = with maintainers; [ copumpkin ];
|
|
platforms = platforms.darwin;
|
|
license = licenses.apsl20;
|
|
};
|
|
}
|