summary refs log tree commit diff
path: root/pkgs/os-specific/darwin/apple-source-releases/Librpcsvc/default.nix
blob: a7b2bd7d981d700edb7da6216678b0fff4e6f906 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ 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;
  };
}