nixpkgs/pkgs/applications/editors/android-studio/default.nix
Michael Weiss 7a66c79d8d
androidStudioPackages.{dev,canary}: 3.6.0.5 -> 3.6.0.6
Unfortunately this update will probably still cause the builds from
canary 3 to break and require manual steps to resolve these issues:
https://issuetracker.google.com/issues/136077720#comment9

I.e. manually update the Gradle plugin here (e.g. directly to alpha06):
dependencies {
   classpath 'com.android.tools:gradle:3.6.0-alpha03'
}

But as the current status is "Won't Fix (Infeasible)" [0] there's no
point in skipping the updates for the dev/canary channel.

[0]: https://issuetracker.google.com/issues/136077720#comment10
2019-08-17 15:09:09 +02:00

48 lines
1.2 KiB
Nix

{ callPackage, makeFontsConf, gnome2 }:
let
mkStudio = opts: callPackage (import ./common.nix opts) {
fontsConf = makeFontsConf {
fontDirectories = [];
};
inherit (gnome2) GConf gnome_vfs;
};
stableVersion = {
version = "3.4.2.0"; # "Android Studio 3.4.2"
build = "183.5692245";
sha256Hash = "090rc307mfm0yw4h592l9307lq4aas8zq0ci49csn6kxhds8rsrm";
};
betaVersion = {
version = "3.5.0.20"; # "Android Studio 3.5 RC 3"
build = "191.5781497";
sha256Hash = "03c5f01dqjvz55l8vyrpypjmmip96kc27p8sw0c5jky0igiyym5j";
};
latestVersion = { # canary & dev
version = "3.6.0.6"; # "Android Studio 3.6 Canary 6"
build = "192.5787298";
sha256Hash = "1rri8b5nkxj65hq13s5d31fy08llf3ad9s5mn56ridd4nsy2c5df";
};
in rec {
# 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";
});
}