2019-06-16 20:59:06 +01:00
|
|
|
{ callPackage, makeFontsConf, gnome2 }:
|
2018-03-21 11:52:28 +00:00
|
|
|
|
2017-07-13 10:23:24 +01:00
|
|
|
let
|
2017-08-02 01:12:11 +01: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 01:12:11 +01:00
|
|
|
};
|
2018-04-11 23:09:03 +01:00
|
|
|
stableVersion = {
|
2019-12-09 13:30:40 +00:00
|
|
|
version = "3.5.3.0"; # "Android Studio 3.5.3"
|
|
|
|
build = "191.6010548";
|
|
|
|
sha256Hash = "1nsm4d3vdx90szqd78a8mjq65xc9m5ipd35cqrlx3c3ny900sqxg";
|
2019-01-16 11:59:44 +00:00
|
|
|
};
|
2019-10-26 12:03:21 +01:00
|
|
|
betaVersion = {
|
2019-12-09 13:25:13 +00:00
|
|
|
version = "3.6.0.17"; # "Android Studio 3.6 Beta 5"
|
|
|
|
build = "192.6018865";
|
|
|
|
sha256Hash = "0qlrdf7a6f5585mrni1aa2chic4n7b9c8lgrj8br6q929hc2f5d9";
|
2019-05-25 20:22:24 +01:00
|
|
|
};
|
2019-10-26 12:03:21 +01:00
|
|
|
latestVersion = { # canary & dev
|
2019-12-09 13:27:41 +00:00
|
|
|
version = "4.0.0.5"; # "Android Studio 4.0 Canary 5"
|
|
|
|
build = "193.6039983";
|
|
|
|
sha256Hash = "19pidwl46z7alc0d7awhvi4aq1r87f99wh5yfi94s1zd2azm9f9z";
|
2019-10-26 12:03:21 +01:00
|
|
|
};
|
2019-08-13 22:52:01 +01:00
|
|
|
in {
|
2018-08-01 17:40:07 +01:00
|
|
|
# Attributes are named by their corresponding release channels
|
2018-03-13 01:05:31 +00:00
|
|
|
|
2018-04-11 23:09:03 +01:00
|
|
|
stable = mkStudio (stableVersion // {
|
2018-08-01 17:18:19 +01:00
|
|
|
channel = "stable";
|
2017-07-13 10:23:24 +01:00
|
|
|
pname = "android-studio";
|
2018-04-11 23:09:03 +01:00
|
|
|
});
|
2017-07-13 10:23:24 +01:00
|
|
|
|
2018-08-01 17:18:19 +01:00
|
|
|
beta = mkStudio (betaVersion // {
|
|
|
|
channel = "beta";
|
2019-01-17 17:41:37 +00:00
|
|
|
pname = "android-studio-beta";
|
2018-04-11 23:09:03 +01:00
|
|
|
});
|
2018-03-13 01:23:41 +00:00
|
|
|
|
2018-03-21 12:06:37 +00:00
|
|
|
dev = mkStudio (latestVersion // {
|
2018-08-01 17:18:19 +01: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 17:18:19 +01: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 10:23:24 +01:00
|
|
|
}
|