android-platform-tools: 26.0.2 -> 28.0.1

This commit is contained in:
Andreas Baldeau 2018-09-15 23:28:41 +02:00
parent 7b93f7a264
commit 906e69d638

View File

@ -6,16 +6,16 @@ let
in
stdenv.mkDerivation rec {
version = "26.0.2";
version = "28.0.1";
name = "android-platform-tools-r${version}";
src = if (stdenv.hostPlatform.system == "i686-linux" || stdenv.hostPlatform.system == "x86_64-linux")
then fetchurl {
url = "https://dl.google.com/android/repository/platform-tools_r${version}-linux.zip";
sha256 = "0695npvxljbbh8xwfm65k34fcpyfkzvfkssgnp46wkmnq8w5mcb3";
sha256 = "14kkr9xib5drjjd0bclm0jn3f5xlmlg652mbv4xd83cv7a53a49y";
}
else if stdenv.hostPlatform.system == "x86_64-darwin" then fetchurl {
url = "https://dl.google.com/android/repository/platform-tools_r${version}-darwin.zip";
sha256 = "0gy7apw9pmnnm41z6ywglw5va4ghmny4j57778may4q7ar751l56";
sha256 = "117syrddq1haicwyjzd1p4pfphj0wldjs7w10fpk3n2b7yp37j1v";
}
else throw "System ${stdenv.hostPlatform.system} not supported!";