diff options
author | Matthew Bauer <mjbauer95@gmail.com> | 2016-11-09 22:28:37 -0600 |
---|---|---|
committer | Matthew Bauer <mjbauer95@gmail.com> | 2016-11-15 18:58:12 -0600 |
commit | 823772b0569681284957177f4a442aef5f7e737a (patch) | |
tree | cd8b60cf99fc6388ee647adccd01d107e5d623ca /pkgs/os-specific/darwin/apple-source-releases/Librpcsvc | |
parent | 4a01a370514796936929d65f6497fdc0326de496 (diff) | |
download | nixpkgs-823772b0569681284957177f4a442aef5f7e737a.tar nixpkgs-823772b0569681284957177f4a442aef5f7e737a.tar.gz nixpkgs-823772b0569681284957177f4a442aef5f7e737a.tar.bz2 nixpkgs-823772b0569681284957177f4a442aef5f7e737a.tar.lz nixpkgs-823772b0569681284957177f4a442aef5f7e737a.tar.xz nixpkgs-823772b0569681284957177f4a442aef5f7e737a.tar.zst nixpkgs-823772b0569681284957177f4a442aef5f7e737a.zip |
Librpcsvc: init at 26
Diffstat (limited to 'pkgs/os-specific/darwin/apple-source-releases/Librpcsvc')
-rw-r--r-- | pkgs/os-specific/darwin/apple-source-releases/Librpcsvc/default.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/os-specific/darwin/apple-source-releases/Librpcsvc/default.nix b/pkgs/os-specific/darwin/apple-source-releases/Librpcsvc/default.nix new file mode 100644 index 00000000000..b20687b4159 --- /dev/null +++ b/pkgs/os-specific/darwin/apple-source-releases/Librpcsvc/default.nix @@ -0,0 +1,25 @@ +{ stdenv, appleDerivation, developer_cmds }: + +appleDerivation rec { + phases = [ "unpackPhase" "installPhase" ]; + + 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; { + description = ""; + maintainers = with maintainers; [ matthewbauer ]; + platforms = platforms.darwin; + license = licenses.apsl20; + }; +} |