2017-10-27 02:05:10 -07:00
|
|
|
{ stdenv, callPackage, fetchurl, makeFontsConf }:
|
2017-07-13 02:23:24 -07:00
|
|
|
let
|
2017-08-01 17:12:11 -07:00
|
|
|
mkStudio = opts: callPackage (import ./common.nix opts) {
|
|
|
|
fontsConf = makeFontsConf {
|
|
|
|
fontDirectories = [];
|
|
|
|
};
|
|
|
|
};
|
2017-07-13 02:23:24 -07:00
|
|
|
in rec {
|
2017-10-27 02:05:10 -07:00
|
|
|
stable = mkStudio {
|
2017-07-13 02:23:24 -07:00
|
|
|
pname = "android-studio";
|
2017-10-27 02:05:10 -07:00
|
|
|
version = "3.0.0.18"; # "Android Studio 3.0"
|
|
|
|
build = "171.4408382";
|
|
|
|
sha256Hash = "18npm7ckdybj6vc2vndr0wd50da19m9z2j7wld2mdidnl5ggk4br";
|
2017-07-13 02:23:24 -07:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2017-07-30 11:32:04 -07:00
|
|
|
description = "The Official IDE for Android (stable version)";
|
|
|
|
longDescription = ''
|
|
|
|
Android Studio is the official IDE for Android app development, based on
|
|
|
|
IntelliJ IDEA.
|
|
|
|
'';
|
2017-07-13 02:23:24 -07:00
|
|
|
homepage = https://developer.android.com/studio/index.html;
|
|
|
|
license = licenses.asl20;
|
|
|
|
platforms = [ "x86_64-linux" ];
|
|
|
|
maintainers = with maintainers; [ primeos ];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2017-10-27 02:05:17 -07:00
|
|
|
preview = mkStudio {
|
2017-07-13 02:23:24 -07:00
|
|
|
pname = "android-studio-preview";
|
2017-12-20 10:52:41 -08:00
|
|
|
version = "3.1.0.5"; # "Android Studio 3.1 Canary 6"
|
|
|
|
build = "173.4506631";
|
|
|
|
sha256Hash = "10yw27rxv6pfvyl9w18ch63lm85ykj7ssrv87pchvwkmsscaw2zn";
|
2017-07-13 02:23:24 -07:00
|
|
|
|
|
|
|
meta = stable.meta // {
|
2017-07-30 11:32:04 -07:00
|
|
|
description = "The Official IDE for Android (preview version)";
|
2017-07-13 02:23:24 -07:00
|
|
|
homepage = https://developer.android.com/studio/preview/index.html;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|