android-platform-tools: 26.0.2 -> 28.0.1
This commit is contained in:
parent
7b93f7a264
commit
906e69d638
@ -6,16 +6,16 @@ let
|
|||||||
in
|
in
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "26.0.2";
|
version = "28.0.1";
|
||||||
name = "android-platform-tools-r${version}";
|
name = "android-platform-tools-r${version}";
|
||||||
src = if (stdenv.hostPlatform.system == "i686-linux" || stdenv.hostPlatform.system == "x86_64-linux")
|
src = if (stdenv.hostPlatform.system == "i686-linux" || stdenv.hostPlatform.system == "x86_64-linux")
|
||||||
then fetchurl {
|
then fetchurl {
|
||||||
url = "https://dl.google.com/android/repository/platform-tools_r${version}-linux.zip";
|
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 {
|
else if stdenv.hostPlatform.system == "x86_64-darwin" then fetchurl {
|
||||||
url = "https://dl.google.com/android/repository/platform-tools_r${version}-darwin.zip";
|
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!";
|
else throw "System ${stdenv.hostPlatform.system} not supported!";
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user