···1-{pkgs, pkgs_i686, xcodeVersion ? "5.0", tiVersion ? "3.2.1.GA"}:
23let
4 # We have to use Oracle's JDK. On Darwin, just simply expose the host system's
···30 titaniumsdk = let
31 titaniumSdkFile = if tiVersion == "3.1.4.GA" then ./titaniumsdk-3.1.nix
32 else if tiVersion == "3.2.3.GA" then ./titaniumsdk-3.2.nix
33- else if tiVersion == "3.3.0.RC2" then ./titaniumsdk-3.3.nix
34 else throw "Titanium version not supported: "+tiVersion;
35 in
36 import titaniumSdkFile {
···1+{pkgs, pkgs_i686, xcodeVersion ? "5.0", tiVersion ? "3.2.3.GA"}:
23let
4 # We have to use Oracle's JDK. On Darwin, just simply expose the host system's
···30 titaniumsdk = let
31 titaniumSdkFile = if tiVersion == "3.1.4.GA" then ./titaniumsdk-3.1.nix
32 else if tiVersion == "3.2.3.GA" then ./titaniumsdk-3.2.nix
33+ else if tiVersion == "3.3.0.GA" then ./titaniumsdk-3.3.nix
34 else throw "Titanium version not supported: "+tiVersion;
35 in
36 import titaniumSdkFile {
···1{stdenv, fetchurl, unzip, makeWrapper, python, jdk}:
23stdenv.mkDerivation {
4- name = "mobilesdk-3.3.0.RC2";
5 src = if (stdenv.system == "i686-linux" || stdenv.system == "x86_64-linux") then fetchurl {
6- url = http://builds.appcelerator.com/mobile/3.3.0/mobilesdk-3.3.0.RC2-linux.zip;
7- sha1 = "ad4d0003b81ffc5947c1961548ad4b8591aaec5b";
8 }
9 else if stdenv.system == "x86_64-darwin" then fetchurl {
10- url = http://builds.appcelerator.com/mobile/3.3.0/mobilesdk-3.3.0.RC2-osx.zip;
11- sha1 = "621080fdd48801bfec7113fef1f224caabf0d4dd";
12 }
13 else throw "Platform: ${stdenv.system} not supported!";
14···2829 # Rename ugly version number
30 cd mobilesdk/*
31- cd 3.3.0.RC2
3233 # Zip files do not support timestamps lower than 1980. We have to apply a few work-arounds to cope with that
34 # Yes, I know it's nasty :-)
···1{stdenv, fetchurl, unzip, makeWrapper, python, jdk}:
23stdenv.mkDerivation {
4+ name = "mobilesdk-3.3.0.GA";
5 src = if (stdenv.system == "i686-linux" || stdenv.system == "x86_64-linux") then fetchurl {
6+ url = http://builds.appcelerator.com/mobile/3.3.0/mobilesdk-3.3.0.GA-linux.zip;
7+ sha1 = "9a9cca05a4cf8700df60b7e9d9cd969ecb70d81e";
8 }
9 else if stdenv.system == "x86_64-darwin" then fetchurl {
10+ url = http://builds.appcelerator.com/mobile/3.3.0/mobilesdk-3.3.0.GA-osx.zip;
11+ sha1 = "c6333e4da2564b9c51b865c1db49a062fbc743af";
12 }
13 else throw "Platform: ${stdenv.system} not supported!";
14···2829 # Rename ugly version number
30 cd mobilesdk/*
31+ cd 3.3.0.GA
3233 # Zip files do not support timestamps lower than 1980. We have to apply a few work-arounds to cope with that
34 # Yes, I know it's nasty :-)