2019-06-16 19:59:06 +00:00
|
|
|
{ callPackage, makeFontsConf, gnome2 }:
|
2018-03-21 11:52:28 +00:00
|
|
|
|
2017-07-13 09:23:24 +00:00
|
|
|
let
|
2017-08-02 00:12:11 +00:00
|
|
|
mkStudio = opts: callPackage (import ./common.nix opts) {
|
|
|
|
fontsConf = makeFontsConf {
|
|
|
|
fontDirectories = [];
|
|
|
|
};
|
2018-03-13 13:08:09 +00:00
|
|
|
inherit (gnome2) GConf gnome_vfs;
|
2017-08-02 00:12:11 +00:00
|
|
|
};
|
2018-04-11 22:09:03 +00:00
|
|
|
stableVersion = {
|
2019-08-21 10:22:00 +00:00
|
|
|
version = "3.5.0.21"; # "Android Studio 3.5"
|
|
|
|
build = "191.5791312";
|
|
|
|
sha256Hash = "0vvk2vhklxg9wfi4lv4sahs5ahhb1mki1msy3yixmr56vipgv52p";
|
2019-01-16 11:59:44 +00:00
|
|
|
};
|
2019-08-21 10:22:00 +00:00
|
|
|
betaVersion = stableVersion;
|
2019-05-25 19:22:24 +00:00
|
|
|
latestVersion = { # canary & dev
|
2019-08-24 14:52:12 +00:00
|
|
|
version = "3.6.0.7"; # "Android Studio 3.6 Canary 7"
|
|
|
|
build = "192.5807797";
|
|
|
|
sha256Hash = "1l47miiyd8z7v0hbvda06953pp9ilyrsma83gxqx35ghnc0n7g81";
|
2019-05-25 19:22:24 +00:00
|
|
|
};
|
2017-07-13 09:23:24 +00:00
|
|
|
in rec {
|
2018-08-01 16:40:07 +00:00
|
|
|
# Attributes are named by their corresponding release channels
|
2018-03-13 01:05:31 +00:00
|
|
|
|
2018-04-11 22:09:03 +00:00
|
|
|
stable = mkStudio (stableVersion // {
|
2018-08-01 16:18:19 +00:00
|
|
|
channel = "stable";
|
2017-07-13 09:23:24 +00:00
|
|
|
pname = "android-studio";
|
2018-04-11 22:09:03 +00:00
|
|
|
});
|
2017-07-13 09:23:24 +00:00
|
|
|
|
2018-08-01 16:18:19 +00:00
|
|
|
beta = mkStudio (betaVersion // {
|
|
|
|
channel = "beta";
|
2019-01-17 17:41:37 +00:00
|
|
|
pname = "android-studio-beta";
|
2018-04-11 22:09:03 +00:00
|
|
|
});
|
2018-03-13 01:23:41 +00:00
|
|
|
|
2018-03-21 12:06:37 +00:00
|
|
|
dev = mkStudio (latestVersion // {
|
2018-08-01 16:18:19 +00:00
|
|
|
channel = "dev";
|
2018-03-13 01:23:41 +00:00
|
|
|
pname = "android-studio-dev";
|
2018-03-21 12:06:37 +00:00
|
|
|
});
|
2018-03-13 01:23:41 +00:00
|
|
|
|
2018-03-21 12:06:37 +00:00
|
|
|
canary = mkStudio (latestVersion // {
|
2018-08-01 16:18:19 +00:00
|
|
|
channel = "canary";
|
2018-03-13 01:23:41 +00:00
|
|
|
pname = "android-studio-canary";
|
2018-03-21 12:06:37 +00:00
|
|
|
});
|
2017-07-13 09:23:24 +00:00
|
|
|
}
|