adv_cmds: add xcode derivation

This commit is contained in:
Matthew Bauer 2016-10-20 03:17:24 -05:00
parent de87138b9a
commit 8e301fab50
No known key found for this signature in database
GPG Key ID: E04D0AD9469141C3
2 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,22 @@
{ stdenv, fetchurl, xcbuild, xpc }:
stdenv.mkDerivation {
name = "adv_cmds";
src = fetchurl {
url = "https://opensource.apple.com/tarballs/adv_cmds/adv_cmds-163.tar.gz";
sha256 = "12gbv35i09aij9g90p6b3x2f3ramw43qcb2gjrg8lzkzmwvcyw9q";
};
patchPhase = ''
substituteInPlace pkill/pkill.c \
--replace '#include <xpc/xpc.h>' ""
'';
buildInputs = [ xcbuild xpc ];
meta = {
platforms = stdenv.lib.platforms.darwin;
maintainers = with stdenv.lib.maintainers; [ matthewbauer ];
};
}

View File

@ -17377,4 +17377,6 @@ in
xulrunner = firefox-unwrapped;
nitrokey-app = callPackage ../tools/security/nitrokey-app { };
adv_cmds = callPackage ../os-specific/darwin/apple-source-releases/adv_cmds/xcode.nix {};
}