From 6e26fe3d57fdff0dd4fde8f34505f15230badf8d Mon Sep 17 00:00:00 2001 From: Daiderd Jordan Date: Thu, 15 Dec 2016 18:07:54 +0100 Subject: [PATCH] xcbuild: add meta --- pkgs/development/tools/xcbuild/default.nix | 7 +++++++ pkgs/development/tools/xcbuild/platform.nix | 8 ++++---- pkgs/development/tools/xcbuild/wrapper.nix | 2 ++ 3 files changed, 13 insertions(+), 4 deletions(-) diff --git a/pkgs/development/tools/xcbuild/default.nix b/pkgs/development/tools/xcbuild/default.nix index 1393034ff205..3a1b753bf31a 100644 --- a/pkgs/development/tools/xcbuild/default.nix +++ b/pkgs/development/tools/xcbuild/default.nix @@ -41,4 +41,11 @@ in stdenv.mkDerivation rec { buildInputs = [ cmake zlib libxml2 libpng ninja ] ++ stdenv.lib.optionals stdenv.isDarwin [ CoreServices CoreGraphics ImageIO ]; + + meta = with stdenv.lib; { + description = "Xcode-compatible build tool"; + homepage = https://github.com/facebook/xcbuild; + platforms = platforms.unix; + maintainers = with maintainers; [ copumpkin matthewbauer ]; + }; } diff --git a/pkgs/development/tools/xcbuild/platform.nix b/pkgs/development/tools/xcbuild/platform.nix index 0b03d4120e85..34fc5b0f6202 100644 --- a/pkgs/development/tools/xcbuild/platform.nix +++ b/pkgs/development/tools/xcbuild/platform.nix @@ -19,10 +19,10 @@ let # is removed because NixPkgs only supports darwin-x86_64. Architectures = [ { - Identifier = "Standard"; - Type = "Architecture"; - Name = "Standard Architectures (64-bit Intel)"; - RealArchitectures = [ "x86_64" ]; + Identifier = "Standard"; + Type = "Architecture"; + Name = "Standard Architectures (64-bit Intel)"; + RealArchitectures = [ "x86_64" ]; ArchitectureSetting = "ARCHS_STANDARD"; } { diff --git a/pkgs/development/tools/xcbuild/wrapper.nix b/pkgs/development/tools/xcbuild/wrapper.nix index fc03c273fc58..a40a3440d682 100644 --- a/pkgs/development/tools/xcbuild/wrapper.nix +++ b/pkgs/development/tools/xcbuild/wrapper.nix @@ -64,6 +64,8 @@ stdenv.mkDerivation { --set DEVELOPER_DIR "$out" ''; + inherit (xcbuild) meta; + passthru = { raw = xcbuild; };