2022-04-12 17:04:53 +00:00
|
|
|
{ callPackage, makeFontsConf, gnome2, buildFHSUserEnv, tiling_wm ? false }:
|
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;
|
2020-07-31 13:28:57 +00:00
|
|
|
inherit buildFHSUserEnv;
|
2022-04-12 17:04:53 +00:00
|
|
|
inherit tiling_wm;
|
2017-08-02 00:12:11 +00:00
|
|
|
};
|
2018-04-11 22:09:03 +00:00
|
|
|
stableVersion = {
|
2023-02-11 22:40:15 +00:00
|
|
|
version = "2022.1.1.20"; # "Android Studio Electric Eel (2022.1.1) Patch 1"
|
|
|
|
sha256Hash = "sha256-UX7aOpTM23S7NBPNAz/fKEyK/dqWpok0NnpX9wck6p4=";
|
2019-01-16 11:59:44 +00:00
|
|
|
};
|
2020-02-28 19:55:43 +00:00
|
|
|
betaVersion = {
|
2023-01-13 08:01:34 +00:00
|
|
|
version = "2022.2.1.12"; # "Android Studio Flamingo (2022.2.1) Beta 1"
|
|
|
|
sha256Hash = "tIgmX9KiRInIupgIXWgg4dMf8bTwkVopOxAO5O1PUAc=";
|
2019-10-26 11:03:21 +00:00
|
|
|
};
|
2020-02-28 19:55:43 +00:00
|
|
|
latestVersion = { # canary & dev
|
2023-01-13 08:02:23 +00:00
|
|
|
version = "2022.3.1.1"; # "Android Studio Girrafe (2022.3.1) Canary 1"
|
|
|
|
sha256Hash = "I7Zc4DDByUB6XOnk7v+91ccpNI7eX/T4d3vH60ih8ec=";
|
2020-02-28 19:55:43 +00:00
|
|
|
};
|
2019-08-13 21:52:01 +00:00
|
|
|
in {
|
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
|
|
|
}
|