titaniumsdk: Removed obsolete src parameter

This commit is contained in:
Sander van der Burg 2013-04-16 16:23:20 +02:00
parent cce9e298b8
commit 92e089187d
2 changed files with 20 additions and 24 deletions

View File

@ -1,18 +1,16 @@
{stdenv, src ? null, fetchurl, unzip, makeWrapper, python, jdk}:
{stdenv, fetchurl, unzip, makeWrapper, python, jdk}:
stdenv.mkDerivation {
name = "titanium-mobilesdk-2.1.4.v20121109124659";
src = if src == null then
if (stdenv.system == "i686-linux" || stdenv.system == "x86_64-linux") then fetchurl {
url = http://builds.appcelerator.com.s3.amazonaws.com/mobile/2_1_X/mobilesdk-2.1.4.v20121109124659-linux.zip;
sha1 = "381eb4b06b5a261ddf336c52d4714e5626142697";
}
else if stdenv.system == "x86_64-darwin" then fetchurl {
url = http://builds.appcelerator.com.s3.amazonaws.com/mobile/2_1_X/mobilesdk-2.1.4.v20121109124659-osx.zip;
sha1 = "1cef5803f0c7b7bb35feb88d3f91bbb191e3953e";
}
else throw "Platform: ${stdenv.system} not supported!"
else src;
src = if (stdenv.system == "i686-linux" || stdenv.system == "x86_64-linux") then fetchurl {
url = http://builds.appcelerator.com.s3.amazonaws.com/mobile/2_1_X/mobilesdk-2.1.4.v20121109124659-linux.zip;
sha1 = "381eb4b06b5a261ddf336c52d4714e5626142697";
}
else if stdenv.system == "x86_64-darwin" then fetchurl {
url = http://builds.appcelerator.com.s3.amazonaws.com/mobile/2_1_X/mobilesdk-2.1.4.v20121109124659-osx.zip;
sha1 = "1cef5803f0c7b7bb35feb88d3f91bbb191e3953e";
}
else throw "Platform: ${stdenv.system} not supported!";
buildInputs = [ unzip makeWrapper ];

View File

@ -1,18 +1,16 @@
{stdenv, src ? null, fetchurl, unzip, makeWrapper, python, jdk}:
{stdenv, fetchurl, unzip, makeWrapper, python, jdk}:
stdenv.mkDerivation {
name = "titanium-mobilesdk-3.1.0.v20130415184552";
src = if src == null then
if (stdenv.system == "i686-linux" || stdenv.system == "x86_64-linux") then fetchurl {
url = http://builds.appcelerator.com.s3.amazonaws.com/mobile/3_1_X/mobilesdk-3.1.0.v20130415184552-linux.zip;
sha1 = "7a8b34b92f6c3eff33eefb9a1b6b0d2e3670001d";
}
else if stdenv.system == "x86_64-darwin" then fetchurl {
url = http://builds.appcelerator.com.s3.amazonaws.com/mobile/3_1_X/mobilesdk-3.1.0.v20130415184552-osx.zip;
sha1 = "e0ed7e399a104e0838e245550197bf787a66bf98";
}
else throw "Platform: ${stdenv.system} not supported!"
else src;
src = if (stdenv.system == "i686-linux" || stdenv.system == "x86_64-linux") then fetchurl {
url = http://builds.appcelerator.com.s3.amazonaws.com/mobile/3_1_X/mobilesdk-3.1.0.v20130415184552-linux.zip;
sha1 = "7a8b34b92f6c3eff33eefb9a1b6b0d2e3670001d";
}
else if stdenv.system == "x86_64-darwin" then fetchurl {
url = http://builds.appcelerator.com.s3.amazonaws.com/mobile/3_1_X/mobilesdk-3.1.0.v20130415184552-osx.zip;
sha1 = "e0ed7e399a104e0838e245550197bf787a66bf98";
}
else throw "Platform: ${stdenv.system} not supported!";
buildInputs = [ unzip makeWrapper ];