2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, appleDerivation }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
appleDerivation {
|
|
|
|
dontBuild = true;
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace Makefile \
|
|
|
|
--replace '/bin/mkdir' 'mkdir' \
|
|
|
|
--replace '/usr/bin/install' 'install'
|
|
|
|
'';
|
|
|
|
|
|
|
|
installFlags = [ "EXPORT_DSTDIR=/include/architecture" ];
|
|
|
|
|
|
|
|
DSTROOT = "$(out)";
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|