diff options
author | Tom Smeets <Tom.TSmeets@Gmail.com> | 2017-07-13 11:23:24 +0200 |
---|---|---|
committer | Tom Smeets <Tom.TSmeets@Gmail.com> | 2017-07-13 11:38:05 +0200 |
commit | 9ab69a3416820df4b499e9a9fe0eb347985fd0c8 (patch) | |
tree | c1e6f717872e1f965d9e18de850287d6f1cc1b2c /pkgs/applications/editors/android-studio/packages.nix | |
parent | 9d28cd9ca4169c5850e4b193e4a5eb9b7b451e93 (diff) | |
download | nixlib-9ab69a3416820df4b499e9a9fe0eb347985fd0c8.tar nixlib-9ab69a3416820df4b499e9a9fe0eb347985fd0c8.tar.gz nixlib-9ab69a3416820df4b499e9a9fe0eb347985fd0c8.tar.bz2 nixlib-9ab69a3416820df4b499e9a9fe0eb347985fd0c8.tar.lz nixlib-9ab69a3416820df4b499e9a9fe0eb347985fd0c8.tar.xz nixlib-9ab69a3416820df4b499e9a9fe0eb347985fd0c8.tar.zst nixlib-9ab69a3416820df4b499e9a9fe0eb347985fd0c8.zip |
android-studio-preview: init at 3.0.0.5 canary 6
Added the `androidStudioPackages` attribute containing both the `stable` and `preview` channels. Changed the attribute `andorid-studio` to point to `androidStudioPackages.stable` Added the attribute `andorid-studio-preview` pointing to `androidStudioPackages.preview` I have tested this package using the new koltin support, no issues found yet.
Diffstat (limited to 'pkgs/applications/editors/android-studio/packages.nix')
-rw-r--r-- | pkgs/applications/editors/android-studio/packages.nix | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/pkgs/applications/editors/android-studio/packages.nix b/pkgs/applications/editors/android-studio/packages.nix new file mode 100644 index 000000000000..cf7173934bb4 --- /dev/null +++ b/pkgs/applications/editors/android-studio/packages.nix @@ -0,0 +1,46 @@ +{ stdenv, callPackage, fetchurl, makeFontsConf }: +let + mkStudio = opts: callPackage (import ./common.nix opts); +in rec { + stable = mkStudio rec { + pname = "android-studio"; + version = "2.3.3.0"; + build = "162.4069837"; + + src = fetchurl { + url = "https://dl.google.com/dl/android/studio/ide-zips/${version}/android-studio-ide-${build}-linux.zip"; + sha256 = "0zzis9m2xp44xwkj0zvcqw5rh3iyd3finyi5nqhgira1fkacz0qk"; + }; + + meta = with stdenv.lib; { + description = "The Official IDE for Android"; + homepage = https://developer.android.com/studio/index.html; + license = licenses.asl20; + platforms = [ "x86_64-linux" ]; + maintainers = with maintainers; [ primeos ]; + }; + } { + fontsConf = makeFontsConf { + fontDirectories = []; + }; + }; + + preview = mkStudio rec { + pname = "android-studio-preview"; + version = "3.0.0.5"; + build = "171.4163606"; + + src = fetchurl { + url = "https://dl.google.com/dl/android/studio/ide-zips/${version}/android-studio-ide-${build}-linux.zip"; + sha256 = "1gxnpw4jf3iic9d47sjbndpysq8kk8pgnb8l7azkc2rba5cj8skg"; + }; + + meta = stable.meta // { + homepage = https://developer.android.com/studio/preview/index.html; + }; + } { + fontsConf = makeFontsConf { + fontDirectories = []; + }; + }; +} |