forked from mirrors/nixpkgs
Merge pull request #21185 from LnL7/darwin-xcbuild-meta
xcbuild: add meta
This commit is contained in:
commit
774301ab0a
|
@ -41,4 +41,11 @@ in stdenv.mkDerivation rec {
|
||||||
|
|
||||||
buildInputs = [ cmake zlib libxml2 libpng ninja ]
|
buildInputs = [ cmake zlib libxml2 libpng ninja ]
|
||||||
++ stdenv.lib.optionals stdenv.isDarwin [ CoreServices CoreGraphics ImageIO ];
|
++ 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 ];
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -19,10 +19,10 @@ let
|
||||||
# is removed because NixPkgs only supports darwin-x86_64.
|
# is removed because NixPkgs only supports darwin-x86_64.
|
||||||
Architectures = [
|
Architectures = [
|
||||||
{
|
{
|
||||||
Identifier = "Standard";
|
Identifier = "Standard";
|
||||||
Type = "Architecture";
|
Type = "Architecture";
|
||||||
Name = "Standard Architectures (64-bit Intel)";
|
Name = "Standard Architectures (64-bit Intel)";
|
||||||
RealArchitectures = [ "x86_64" ];
|
RealArchitectures = [ "x86_64" ];
|
||||||
ArchitectureSetting = "ARCHS_STANDARD";
|
ArchitectureSetting = "ARCHS_STANDARD";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
|
|
|
@ -64,6 +64,8 @@ stdenv.mkDerivation {
|
||||||
--set DEVELOPER_DIR "$out"
|
--set DEVELOPER_DIR "$out"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
inherit (xcbuild) meta;
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
raw = xcbuild;
|
raw = xcbuild;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue