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-07-27 06:49:29 +00:00
|
|
|
version = "2024.1.1.12"; # "Android Studio Koala | 2024.1.1 Patch 1"
|
|
|
|
sha256Hash = "sha256-Qvi/Mc4NEk3dERlfZiowBk2Pmqsgbl5mg56HamvG7aI=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
betaVersion = {
|
2024-07-27 06:49:29 +00:00
|
|
|
version = "2024.1.2.9"; # "Android Studio Koala Feature Drop | 2024.1.2 Beta 1"
|
|
|
|
sha256Hash = "sha256-eTnpU9KrquW4nMRqde9PUmVQ05kf6kFy1yr+Ima9M50=";
|
2023-08-04 22:07:22 +00:00
|
|
|
};
|
|
|
|
latestVersion = {
|
2024-07-27 06:49:29 +00:00
|
|
|
version = "2024.1.3.1"; # "Android Studio Ladybug | 2024.1.3 Canary 1"
|
|
|
|
sha256Hash = "sha256-BSrcPdkK4dU5/bV29NGKcCR10XYMJrPvC91fcJs5Vq8=";
|
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";
|
|
|
|
});
|
|
|
|
}
|