nixpkgs/pkgs/development/mobile/titaniumenv/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

21 lines
654 B
Nix
Raw Normal View History

2020-03-01 18:02:21 +00:00
{pkgs, androidenv, xcodeenv, tiVersion ? "8.3.2.GA"}:
rec {
2014-02-18 15:34:34 +00:00
titaniumsdk = let
titaniumSdkFile = if tiVersion == "8.2.1.GA" then ./titaniumsdk-8.2.nix
2020-03-01 18:02:21 +00:00
else if tiVersion == "8.3.2.GA" then ./titaniumsdk-8.3.nix
2014-02-18 15:34:34 +00:00
else throw "Titanium version not supported: "+tiVersion;
in
import titaniumSdkFile {
inherit (pkgs) stdenv lib fetchurl unzip makeWrapper;
2014-02-18 15:34:34 +00:00
};
buildApp = import ./build-app.nix {
2023-08-17 20:31:45 +00:00
inherit (pkgs) stdenv lib python which file jdk nodejs titanium;
2023-08-17 20:18:47 +00:00
alloy = pkgs.titanium-alloy;
inherit (androidenv) composeAndroidPackages;
inherit (xcodeenv) composeXcodeWrapper;
inherit titaniumsdk;
};
}