2024-07-02 23:53:57 +01:00
|
|
|
{
|
|
|
|
callPackage,
|
|
|
|
makeFontsConf,
|
|
|
|
buildFHSEnv,
|
|
|
|
tiling_wm ? false,
|
|
|
|
}:
|
2024-04-22 22:06:05 +01:00
|
|
|
|
|
|
|
let
|
|
|
|
mkStudio =
|
|
|
|
opts:
|
|
|
|
callPackage (import ./common.nix opts) {
|
|
|
|
fontsConf = makeFontsConf {
|
|
|
|
fontDirectories = [ ];
|
2024-12-10 19:26:33 +00:00
|
|
|
};
|
2024-04-22 22:06:05 +01:00
|
|
|
inherit buildFHSEnv;
|
|
|
|
inherit tiling_wm;
|
|
|
|
};
|
|
|
|
stableVersion = {
|
|
|
|
version = "2023.2.1.20"; # Android Studio Iguana | 2023.2.1 Beta 2
|
|
|
|
sha256Hash = "sha256-cM/pkSghqLUUvJVF/OVLDOxVBJlJLH8ge1bfZtDUegY=";
|
|
|
|
};
|
|
|
|
canaryVersion = {
|
|
|
|
version = "2023.3.2.1"; # Android Studio Jellyfish | 2023.3.2 Canary 1
|
|
|
|
sha256Hash = "sha256-XOsbMyNentklfEp1k49H3uFeiRNMCV/Seisw9K1ganM=";
|
|
|
|
};
|
|
|
|
in
|
|
|
|
{
|
|
|
|
# Attributes are named by their corresponding release channels
|
|
|
|
|
|
|
|
stable = mkStudio (
|
|
|
|
stableVersion
|
|
|
|
// {
|
|
|
|
channel = "stable";
|
|
|
|
pname = "android-studio-for-platform";
|
|
|
|
}
|
|
|
|
);
|
|
|
|
|
|
|
|
canary = mkStudio (
|
|
|
|
canaryVersion
|
|
|
|
// {
|
|
|
|
channel = "canary";
|
|
|
|
pname = "android-studio-for-platform-canary";
|
|
|
|
}
|
|
|
|
);
|
|
|
|
}
|