2023-04-29 16:46:19 +00:00
|
|
|
{ callPackage, makeFontsConf, gnome2, buildFHSEnv, tiling_wm ? false }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
let
|
|
|
|
mkStudio = opts: callPackage (import ./common.nix opts) {
|
|
|
|
fontsConf = makeFontsConf {
|
|
|
|
fontDirectories = [];
|
|
|
|
};
|
|
|
|
inherit (gnome2) GConf gnome_vfs;
|
2023-04-29 16:46:19 +00:00
|
|
|
inherit buildFHSEnv;
|
2022-04-27 09:35:20 +00:00
|
|
|
inherit tiling_wm;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
stableVersion = {
|
2023-08-04 22:07:22 +00:00
|
|
|
version = "2022.3.1.18"; # "Android Studio Giraffe (2022.3.1)"
|
|
|
|
sha256Hash = "sha256-JCFeEySmrJEYELLMGvstc1z3Rd+8BpGKQrjW+8a/dDM=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
betaVersion = {
|
2023-08-04 22:07:22 +00:00
|
|
|
version = "2022.3.1.17"; # "Android Studio Giraffe (2022.3.1) RC 1"
|
|
|
|
sha256Hash = "sha256-Bpur9ytiwa0udiyYVxlfLT4M+ZcO5atQUQg/ForATP4=";
|
|
|
|
};
|
|
|
|
latestVersion = {
|
|
|
|
version = "2023.1.1.14"; # Android Studio Hedgehog (2023.1.1) Canary 14
|
|
|
|
sha256Hash = "sha256-MgZDUpRyM0XDfgqfYjtJJyG2CBaNB06PgtoJltDwNwk=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
in {
|
|
|
|
# Attributes are named by their corresponding release channels
|
|
|
|
|
|
|
|
stable = mkStudio (stableVersion // {
|
|
|
|
channel = "stable";
|
|
|
|
pname = "android-studio";
|
|
|
|
});
|
|
|
|
|
|
|
|
beta = mkStudio (betaVersion // {
|
|
|
|
channel = "beta";
|
|
|
|
pname = "android-studio-beta";
|
|
|
|
});
|
|
|
|
|
|
|
|
dev = mkStudio (latestVersion // {
|
|
|
|
channel = "dev";
|
|
|
|
pname = "android-studio-dev";
|
|
|
|
});
|
|
|
|
|
|
|
|
canary = mkStudio (latestVersion // {
|
|
|
|
channel = "canary";
|
|
|
|
pname = "android-studio-canary";
|
|
|
|
});
|
|
|
|
}
|