Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

66 lines
1.3 KiB
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
callPackage,
makeFontsConf,
buildFHSEnv,
tiling_wm ? false,
}:
let
mkStudio =
opts:
callPackage (import ./common.nix opts) {
fontsConf = makeFontsConf {
fontDirectories = [ ];
};
inherit buildFHSEnv;
inherit tiling_wm;
};
stableVersion = {
version = "2025.1.3.7"; # "Android Studio Narwhal 3 Feature Drop | 2025.1.3"
sha256Hash = "sha256-pet3uTmL4pQ/FxB2qKv+IZNx540gMC7hmfOaQ8iLQpQ=";
};
betaVersion = {
version = "2025.1.4.7"; # "Android Studio Narwhal 4 Feature Drop | 2025.1.4 RC 2"
sha256Hash = "sha256-KrKUsA7wFeI7IBa9VOp+MERqWIiMnNzLFO8oF0rCiIw=";
};
latestVersion = {
version = "2025.2.1.3"; # "Android Studio Otter | 2025.2.1 Canary 3"
sha256Hash = "sha256-McgPREXfErJ6vcHPKlAC4EVf61QedMV6J643LM5N7Wg=";
};
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";
}
);
}