nixpkgs/pkgs/os-specific/darwin/apple-source-releases/Librpcsvc/default.nix
iliana etaoin e42705c982 licenses: rename apsl{10,20} -> apple-psl{10,20}
Part 1 of #301908.

This renames the two versions of the Apple Public Source License seen in
nixpkgs; `apsl20` was often confused as being for the widely-used Apache
License 2.0.
2024-04-08 20:39:37 +02:00

23 lines
439 B
Nix

{ lib, 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 lib; {
maintainers = with maintainers; [ matthewbauer ];
platforms = platforms.darwin;
license = licenses.apple-psl20;
};
}