nixpkgs/pkgs/os-specific/darwin/apple-source-releases/Librpcsvc/default.nix
2019-08-28 11:07:32 +00:00

23 lines
444 B
Nix

{ stdenv, appleDerivation, developer_cmds }:
appleDerivation {
buildInputs = [ developer_cmds ];
installPhase = ''
export DSTROOT=$out
export SRCROOT=$PWD
export OBJROOT=$PWD
. ./xcodescripts/install_rpcsvc.sh
mv $out/usr/* $out
rmdir $out/usr/
'';
meta = with stdenv.lib; {
maintainers = with maintainers; [ matthewbauer ];
platforms = platforms.darwin;
license = licenses.apsl20;
};
}