about summary refs log tree commit diff
path: root/pkgs/development/mobile
diff options
context:
space:
mode:
authorCillian de Róiste <cillian.deroiste@gmail.com>2014-05-08 00:49:19 +0200
committerCillian de Róiste <cillian.deroiste@gmail.com>2014-05-08 00:49:19 +0200
commitaa5c2292236c3df6a4a82ed604adc7fd0bc2d835 (patch)
treec7e964a7f1aeb754665c899f248f21301c782ce5 /pkgs/development/mobile
parent130cb5d00508c606e15ad5fee19e549a261f68a3 (diff)
downloadnixlib-aa5c2292236c3df6a4a82ed604adc7fd0bc2d835.tar
nixlib-aa5c2292236c3df6a4a82ed604adc7fd0bc2d835.tar.gz
nixlib-aa5c2292236c3df6a4a82ed604adc7fd0bc2d835.tar.bz2
nixlib-aa5c2292236c3df6a4a82ed604adc7fd0bc2d835.tar.lz
nixlib-aa5c2292236c3df6a4a82ed604adc7fd0bc2d835.tar.xz
nixlib-aa5c2292236c3df6a4a82ed604adc7fd0bc2d835.tar.zst
nixlib-aa5c2292236c3df6a4a82ed604adc7fd0bc2d835.zip
androidsdk: upgrade 22.3 -> 22.6.2
Diffstat (limited to 'pkgs/development/mobile')
-rw-r--r--pkgs/development/mobile/androidenv/androidsdk.nix13
1 files changed, 7 insertions, 6 deletions
diff --git a/pkgs/development/mobile/androidenv/androidsdk.nix b/pkgs/development/mobile/androidenv/androidsdk.nix
index f1bbdc35bcde..1a2124754a20 100644
--- a/pkgs/development/mobile/androidenv/androidsdk.nix
+++ b/pkgs/development/mobile/androidenv/androidsdk.nix
@@ -7,17 +7,18 @@
 }:
 {platformVersions, abiVersions, useGoogleAPIs}:
 
-stdenv.mkDerivation {
-  name = "android-sdk-22.3";
+stdenv.mkDerivation rec {
+  name = "android-sdk-${version}";
+  version = "22.6.2";
   
   src = if (stdenv.system == "i686-linux" || stdenv.system == "x86_64-linux")
     then fetchurl {
-      url = http://dl.google.com/android/android-sdk_r22.3-linux.tgz;
-      md5 = "6ae581a906d6420ad67176dff25a31cc";
+      url = "http://dl.google.com/android/android-sdk_r${version}-linux.tgz";
+      md5 = "ff1541418a44d894bedc5cef10622220";
     }
     else if stdenv.system == "x86_64-darwin" then fetchurl {
-      url = http://dl.google.com/android/android-sdk_r22.3-macosx.zip;
-      md5 = "ecde88ca1f05955826697848fcb4a9e7";
+      url = "http://dl.google.com/android/android-sdk_r${version}-macosx.zip";
+      md5 = "2a319c862dd1dcf450bfe2a6b3d9c608";
     }
     else throw "platform not ${stdenv.system} supported!";