2018-11-17 23:13:44 +01:00
|
|
|
{pkgs, pkgs_i686, androidenv, xcodeenv, tiVersion ? "7.1.0.GA"}:
|
2013-01-07 18:22:10 +01:00
|
|
|
|
|
|
|
rec {
|
2014-02-18 16:34:34 +01:00
|
|
|
titaniumsdk = let
|
2018-11-17 23:13:44 +01:00
|
|
|
titaniumSdkFile = if tiVersion == "7.1.0.GA" then ./titaniumsdk-7.1.nix
|
2014-02-18 16:34:34 +01:00
|
|
|
else throw "Titanium version not supported: "+tiVersion;
|
|
|
|
in
|
|
|
|
import titaniumSdkFile {
|
2018-11-17 23:13:44 +01:00
|
|
|
inherit (pkgs) stdenv fetchurl unzip makeWrapper;
|
2014-02-18 16:34:34 +01:00
|
|
|
};
|
2018-11-17 23:13:44 +01:00
|
|
|
|
2013-01-07 18:22:10 +01:00
|
|
|
buildApp = import ./build-app.nix {
|
2018-01-05 12:34:03 +01:00
|
|
|
inherit (pkgs) stdenv python which file jdk nodejs;
|
2018-11-17 23:13:44 +01:00
|
|
|
inherit (pkgs.nodePackages_8_x) alloy titanium;
|
|
|
|
inherit (androidenv) composeAndroidPackages;
|
|
|
|
inherit (xcodeenv) composeXcodeWrapper;
|
|
|
|
inherit titaniumsdk;
|
2013-01-07 18:22:10 +01:00
|
|
|
};
|
|
|
|
}
|