nixpkgs-suyu/pkgs/os-specific/darwin/apple-source-releases/Librpcsvc/default.nix

23 lines
448 B
Nix
Raw Normal View History

2016-11-10 05:28:37 +01:00
{ stdenv, appleDerivation, developer_cmds }:
appleDerivation rec {
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;
};
}