2015-02-08 06:53:52 +00:00
|
|
|
{ stdenv, appleDerivation }:
|
|
|
|
|
|
|
|
appleDerivation {
|
2018-05-06 21:07:55 +00:00
|
|
|
dontBuild = true;
|
2015-02-08 06:53:52 +00:00
|
|
|
|
2019-02-17 09:11:25 +00:00
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace Makefile \
|
|
|
|
--replace '/bin/mkdir' 'mkdir' \
|
|
|
|
--replace '/usr/bin/install' 'install'
|
|
|
|
'';
|
|
|
|
|
2018-05-12 15:02:30 +00:00
|
|
|
installFlags = [ "EXPORT_DSTDIR=/include/architecture" ];
|
2018-05-11 13:14:21 +00:00
|
|
|
|
2018-05-12 15:02:30 +00:00
|
|
|
DSTROOT = "$(out)";
|
2015-02-08 06:53:52 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
maintainers = with maintainers; [ copumpkin ];
|
|
|
|
platforms = platforms.darwin;
|
|
|
|
license = licenses.apsl20;
|
|
|
|
};
|
|
|
|
}
|