Merge pull request #32289 from bhipple/feature/android-platform-tools-26.0.2

android-platform-tools: 26.0.0 -> 26.0.2
This commit is contained in:
Jörg Thalheim 2017-12-09 10:18:19 +00:00 committed by GitHub
commit 61a177a517
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,16 +1,16 @@
{stdenv, zlib, fetchurl, unzip}:
stdenv.mkDerivation rec {
version = "26.0.0";
version = "26.0.2";
name = "android-platform-tools-r${version}";
src = if (stdenv.system == "i686-linux" || stdenv.system == "x86_64-linux")
then fetchurl {
url = "https://dl.google.com/android/repository/platform-tools_r${version}-linux.zip";
sha256 = "02z5fxxdwd6359wmqdag9vvszdq49sm78cvfskqap18xa83q484h";
sha256 = "0695npvxljbbh8xwfm65k34fcpyfkzvfkssgnp46wkmnq8w5mcb3";
}
else if stdenv.system == "x86_64-darwin" then fetchurl {
url = "https://dl.google.com/android/repository/platform-tools_r${version}-darwin.zip";
sha256 = "13mcyi9l0mmmjr056z1i3rhpb4641iv0a5ky7ij0v8hwsb5r5lwq";
sha256 = "0gy7apw9pmnnm41z6ywglw5va4ghmny4j57778may4q7ar751l56";
}
else throw "System ${stdenv.system} not supported!";