@@ -1,18 +1,18 @@
1{stdenv, stdenv_32bit, fetchurl, unzip, zlib_32bit}:
1{stdenv, stdenv_32bit, fetchurl, unzip, zlib_32bit}:
3stdenv.mkDerivation {
3stdenv.mkDerivation {
4− name = "android-build-tools-r20";
4+ name = "android-build-tools-r21.1.2";
5 src = if (stdenv.system == "i686-linux" || stdenv.system == "x86_64-linux")
5 src = if (stdenv.system == "i686-linux" || stdenv.system == "x86_64-linux")
6 then fetchurl {
6 then fetchurl {
7− url = https://dl-ssl.google.com/android/repository/build-tools_r20-linux.zip;
7+ url = https://dl-ssl.google.com/android/repository/build-tools_r21.1.2-linux.zip;
8− sha1 = "b688905526a5584d1327a662d871a635ff502758";
8+ sha1 = "5e35259843bf2926113a38368b08458735479658";
10 else if stdenv.system == "x86_64-darwin" then fetchurl {
10 else if stdenv.system == "x86_64-darwin" then fetchurl {
11− url = https://dl-ssl.google.com/android/repository/build-tools_r20-macosx.zip;
11+ url = https://dl-ssl.google.com/android/repository/build-tools_r21.1.2-macosx.zip;
12− sha1 = "1240f629411c108a714c4ddd756937c7fab93f83";
12+ sha1 = "e7c906b4ba0eea93b32ba36c610dbd6b204bff48";
14 else throw "System ${stdenv.system} not supported!";
14 else throw "System ${stdenv.system} not supported!";
16 buildCommand = ''
16 buildCommand = ''
17 mkdir -p $out/build-tools
17 mkdir -p $out/build-tools
18 cd $out/build-tools
18 cd $out/build-tools