diff options
author | Sander van der Burg <svanderburg@gmail.com> | 2013-04-16 16:23:20 +0200 |
---|---|---|
committer | Sander van der Burg <svanderburg@gmail.com> | 2013-04-16 16:23:20 +0200 |
commit | 92e089187d38c4106bea1a24b52cf6850a3e312a (patch) | |
tree | aed535699013526ed730a29e1abec4da624c8219 | |
parent | cce9e298b8b53e5f9d5bfadcf51b9fcef490499b (diff) | |
download | nixlib-92e089187d38c4106bea1a24b52cf6850a3e312a.tar nixlib-92e089187d38c4106bea1a24b52cf6850a3e312a.tar.gz nixlib-92e089187d38c4106bea1a24b52cf6850a3e312a.tar.bz2 nixlib-92e089187d38c4106bea1a24b52cf6850a3e312a.tar.lz nixlib-92e089187d38c4106bea1a24b52cf6850a3e312a.tar.xz nixlib-92e089187d38c4106bea1a24b52cf6850a3e312a.tar.zst nixlib-92e089187d38c4106bea1a24b52cf6850a3e312a.zip |
titaniumsdk: Removed obsolete src parameter
-rw-r--r-- | pkgs/development/mobile/titaniumenv/titaniumsdk-2.1.nix | 22 | ||||
-rw-r--r-- | pkgs/development/mobile/titaniumenv/titaniumsdk.nix | 22 |
2 files changed, 20 insertions, 24 deletions
diff --git a/pkgs/development/mobile/titaniumenv/titaniumsdk-2.1.nix b/pkgs/development/mobile/titaniumenv/titaniumsdk-2.1.nix index 2d1a4620eeba..414b444fb46d 100644 --- a/pkgs/development/mobile/titaniumenv/titaniumsdk-2.1.nix +++ b/pkgs/development/mobile/titaniumenv/titaniumsdk-2.1.nix @@ -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 ]; diff --git a/pkgs/development/mobile/titaniumenv/titaniumsdk.nix b/pkgs/development/mobile/titaniumenv/titaniumsdk.nix index 51e07b4b5395..449e3c1e8c76 100644 --- a/pkgs/development/mobile/titaniumenv/titaniumsdk.nix +++ b/pkgs/development/mobile/titaniumenv/titaniumsdk.nix @@ -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 ]; |