2019-06-16 21:59:06 +02:00
|
|
|
{pkgs, 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
|
2019-02-04 22:50:36 +01:00
|
|
|
else if tiVersion == "7.5.1.GA" then ./titaniumsdk-7.5.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;
|
2019-07-05 12:03:28 +02:00
|
|
|
inherit (pkgs.nodePackages_10_x) alloy titanium;
|
2018-11-17 23:13:44 +01:00
|
|
|
inherit (androidenv) composeAndroidPackages;
|
|
|
|
inherit (xcodeenv) composeXcodeWrapper;
|
|
|
|
inherit titaniumsdk;
|
2013-01-07 18:22:10 +01:00
|
|
|
};
|
|
|
|
}
|