aboutsummaryrefslogtreecommitdiff
path: root/pkgs/applications/editors/android-studio
diff options
context:
space:
mode:
authorMichael Weiss <dev.primeos@gmail.com>2019-03-28 21:58:27 +0100
committerMichael Weiss <dev.primeos@gmail.com>2019-03-28 22:03:09 +0100
commit009719383cbd606297e021ceda4396f503c5805a (patch)
tree0913ff5552fadd675913a8dfde927c7f4c9bd3f8 /pkgs/applications/editors/android-studio
parent45dbb34640b8a5725515699a759ce3480f244caa (diff)
androidStudioPackages.{dev,canary}: 3.5.0.7 -> 3.5.0.8
Diffstat (limited to 'pkgs/applications/editors/android-studio')
-rw-r--r--pkgs/applications/editors/android-studio/common.nix3
-rw-r--r--pkgs/applications/editors/android-studio/default.nix6
2 files changed, 5 insertions, 4 deletions
diff --git a/pkgs/applications/editors/android-studio/common.nix b/pkgs/applications/editors/android-studio/common.nix
index a1465766f8b..5eb2d54d755 100644
--- a/pkgs/applications/editors/android-studio/common.nix
+++ b/pkgs/applications/editors/android-studio/common.nix
@@ -39,11 +39,12 @@
let
drvName = "android-studio-${channel}-${version}";
+ archiveFormat = if builtins.elem channel [ "dev" "canary" ] then "tar.gz" else "zip";
androidStudio = stdenv.mkDerivation {
name = drvName;
src = fetchurl {
- url = "https://dl.google.com/dl/android/studio/ide-zips/${version}/android-studio-ide-${build}-linux.zip";
+ url = "https://dl.google.com/dl/android/studio/ide-zips/${version}/android-studio-ide-${build}-linux.${archiveFormat}";
sha256 = sha256Hash;
};
diff --git a/pkgs/applications/editors/android-studio/default.nix b/pkgs/applications/editors/android-studio/default.nix
index 7cd436288e6..2ab61325e0e 100644
--- a/pkgs/applications/editors/android-studio/default.nix
+++ b/pkgs/applications/editors/android-studio/default.nix
@@ -18,9 +18,9 @@ let
sha256Hash = "0d7d6n7n1zzhxpdykbwwbrw139mqxkp20d4l0570pk7975p1s2q9";
};
latestVersion = { # canary & dev
- version = "3.5.0.7"; # "Android Studio 3.5 Canary 8"
- build = "191.5375575";
- sha256Hash = "0vssynvj0j4xbin9h95lciilc3j9mkm53vwzxxr3kqxwl74qx4mj";
+ version = "3.5.0.8"; # "Android Studio 3.5 Canary 9"
+ build = "191.5409101";
+ sha256Hash = "06fc5l40nxm0hyn8c34wsckxxyh1i2q5a53zd4nbhwxi8wsrda7i";
};
in rec {
# Old alias (TODO @primeos: Remove after 19.03 is branched off):