Add a big bundle of packages from apple source releases. Many of them only provide headers or stubs, but are what's needed for the upcoming pure-darwin stdenv, and don't do any harm for now.

This commit is contained in:
Dan Peebles
2015-02-08 01:53:52 -05:00
parent f43c324cee
commit 29f265dfd2
44 changed files with 4470 additions and 1 deletions
@@ -0,0 +1,29 @@
{ stdenv, appleDerivation, dyld }:
appleDerivation {
phases = [ "unpackPhase" "buildPhase" "installPhase" ];
buildInputs = [ dyld ];
buildPhase = ''
# cd src
# cc -I$PWD/../include -c libuwind.cxx
# cc -I$PWD/../include -c Registers.s
# cc -I$PWD/../include -c unw_getcontext.s
# cc -I$PWD/../include -c UnwindLevel1.c
# cc -I$PWD/../include -c UnwindLevel1-gcc-ext.c
# cc -I$PWD/../include -c Unwind-sjlj.c
'';
installPhase = ''
mkdir -p $out
cp -r include $out
'';
meta = with stdenv.lib; {
maintainers = with maintainers; [ copumpkin ];
platforms = platforms.darwin;
license = licenses.apsl20;
};
}