2022-04-27 09:35:20 +00:00
|
|
|
{ callPackage, makeFontsConf, gnome2, buildFHSUserEnv, 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;
|
2020-08-20 17:08:02 +00:00
|
|
|
inherit buildFHSUserEnv;
|
2022-04-27 09:35:20 +00:00
|
|
|
inherit tiling_wm;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
stableVersion = {
|
2023-02-16 17:41:37 +00:00
|
|
|
version = "2022.1.1.20"; # "Android Studio Electric Eel (2022.1.1) Patch 1"
|
|
|
|
sha256Hash = "sha256-UX7aOpTM23S7NBPNAz/fKEyK/dqWpok0NnpX9wck6p4=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
betaVersion = {
|
2023-02-02 18:25:31 +00:00
|
|
|
version = "2022.2.1.12"; # "Android Studio Flamingo (2022.2.1) Beta 1"
|
|
|
|
sha256Hash = "tIgmX9KiRInIupgIXWgg4dMf8bTwkVopOxAO5O1PUAc=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
latestVersion = { # canary & dev
|
2023-02-02 18:25:31 +00:00
|
|
|
version = "2022.3.1.1"; # "Android Studio Girrafe (2022.3.1) Canary 1"
|
|
|
|
sha256Hash = "I7Zc4DDByUB6XOnk7v+91ccpNI7eX/T4d3vH60ih8ec=";
|
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";
|
|
|
|
});
|
|
|
|
}
|