7e615310f7
androidStudioPackages.beta: 3.2.0.26 -> 3.2.1.0
46 lines
1.1 KiB
Nix
46 lines
1.1 KiB
Nix
{ stdenv, callPackage, makeFontsConf, gnome2 }:
|
|
|
|
let
|
|
mkStudio = opts: callPackage (import ./common.nix opts) {
|
|
fontsConf = makeFontsConf {
|
|
fontDirectories = [];
|
|
};
|
|
inherit (gnome2) GConf gnome_vfs;
|
|
};
|
|
stableVersion = {
|
|
version = "3.2.1.0"; # "Android Studio 3.2.1"
|
|
build = "181.5056338";
|
|
sha256Hash = "117skqjax1xz9plarhdnrw2rwprjpybdc7mx7wggxapyy920vv5r";
|
|
};
|
|
betaVersion = stableVersion;
|
|
latestVersion = { # canary & dev
|
|
version = "3.3.0.12"; # "Android Studio 3.3 Canary 13"
|
|
build = "182.5035453";
|
|
sha256Hash = "0f2glxm41ci016dv9ygr12s72lc5mh0zsxhpmx0xswg9mdwrvwa7";
|
|
};
|
|
in rec {
|
|
# Old alias
|
|
preview = beta;
|
|
|
|
# Attributes are named by their corresponding release channels
|
|
|
|
stable = mkStudio (stableVersion // {
|
|
channel = "stable";
|
|
pname = "android-studio";
|
|
});
|
|
|
|
beta = mkStudio (betaVersion // {
|
|
channel = "beta";
|
|
pname = "android-studio-preview";
|
|
});
|
|
|
|
dev = mkStudio (latestVersion // {
|
|
channel = "dev";
|
|
pname = "android-studio-dev";
|
|
});
|
|
|
|
canary = mkStudio (latestVersion // {
|
|
channel = "canary";
|
|
pname = "android-studio-canary";
|
|
});
|
|
}
|