summary refs log tree commit diff
path: root/pkgs/development/tools/xcbuild
diff options
context:
space:
mode:
authorDaiderd Jordan <daiderd@gmail.com>2016-12-15 18:07:54 +0100
committerDaiderd Jordan <daiderd@gmail.com>2016-12-15 18:07:54 +0100
commit6e26fe3d57fdff0dd4fde8f34505f15230badf8d (patch)
tree16f8b40d0b6078245e682071a880093262d5d115 /pkgs/development/tools/xcbuild
parent87b3918d0b100767a603ef7a889c7e645f954681 (diff)
downloadnixlib-6e26fe3d57fdff0dd4fde8f34505f15230badf8d.tar
nixlib-6e26fe3d57fdff0dd4fde8f34505f15230badf8d.tar.gz
nixlib-6e26fe3d57fdff0dd4fde8f34505f15230badf8d.tar.bz2
nixlib-6e26fe3d57fdff0dd4fde8f34505f15230badf8d.tar.lz
nixlib-6e26fe3d57fdff0dd4fde8f34505f15230badf8d.tar.xz
nixlib-6e26fe3d57fdff0dd4fde8f34505f15230badf8d.tar.zst
nixlib-6e26fe3d57fdff0dd4fde8f34505f15230badf8d.zip
xcbuild: add meta
Diffstat (limited to 'pkgs/development/tools/xcbuild')
-rw-r--r--pkgs/development/tools/xcbuild/default.nix7
-rw-r--r--pkgs/development/tools/xcbuild/platform.nix8
-rw-r--r--pkgs/development/tools/xcbuild/wrapper.nix2
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;
   };