2024-07-01 15:47:52 +00:00
|
|
|
{ callPackage, makeFontsConf, buildFHSEnv, tiling_wm ? false }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
let
|
|
|
|
mkStudio = opts: callPackage (import ./common.nix opts) {
|
|
|
|
fontsConf = makeFontsConf {
|
|
|
|
fontDirectories = [];
|
|
|
|
};
|
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 = {
|
2024-06-24 18:47:55 +00:00
|
|
|
version = "2024.1.1.11"; # "Android Studio Koala | 2024.1.1"
|
|
|
|
sha256Hash = "sha256-2PqOz+QVtEUTNQkBUB4qD0KcoDPPGAUFSxyBbEpwRWU=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
betaVersion = {
|
2024-06-24 18:47:55 +00:00
|
|
|
version = "2024.1.1.10"; # "Android Studio Koala | 2024.1.1 RC 2"
|
|
|
|
sha256Hash = "sha256-84CpZfoAvJHUCO3ZBJqDbuz9xuGE/5xJfXoetJDXju8=";
|
2023-08-04 22:07:22 +00:00
|
|
|
};
|
|
|
|
latestVersion = {
|
2024-06-24 18:47:55 +00:00
|
|
|
version = "2024.1.2.7"; # "Android Studio Koala Feature Drop | 2024.1.2 Canary 7"
|
|
|
|
sha256Hash = "sha256-opoAKslh8DqS/iS5gw8AxX6x89t2BNX7yaU88XNd2kM=";
|
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";
|
|
|
|
});
|
|
|
|
}
|