about summary refs log tree commit diff
path: root/pkgs/applications/editors
diff options
context:
space:
mode:
authorMichael Weiss <dev.primeos@gmail.com>2020-04-12 17:23:46 +0200
committerMichael Weiss <dev.primeos@gmail.com>2020-04-12 17:27:54 +0200
commitadcd8baa02f18c9f18bfb03ace994bffe7041e19 (patch)
tree6c479460956807b037e1202ea65df193c4f5d0de /pkgs/applications/editors
parentc26ffbf02339205494295fd99c0eab1b2035649c (diff)
android-studio: Fix the license (unfree)
Android Studio states that it contains proprietary code!
Diffstat (limited to 'pkgs/applications/editors')
-rw-r--r--pkgs/applications/editors/android-studio/common.nix9
1 files changed, 8 insertions, 1 deletions
diff --git a/pkgs/applications/editors/android-studio/common.nix b/pkgs/applications/editors/android-studio/common.nix
index 8df24137e58b6..0625431462cb2 100644
--- a/pkgs/applications/editors/android-studio/common.nix
+++ b/pkgs/applications/editors/android-studio/common.nix
@@ -187,7 +187,14 @@ in runCommand
       homepage = if channel == "stable"
         then "https://developer.android.com/studio/index.html"
         else "https://developer.android.com/studio/preview/index.html";
-      license = licenses.asl20;
+      license = with licenses; [ asl20 unfree ]; # The code is under Apache-2.0, but:
+      # If one selects Help -> Licenses in Android Studio, the dialog shows the following:
+      # "Android Studio includes proprietary code subject to separate license,
+      # including JetBrains CLion(R) (www.jetbrains.com/clion) and IntelliJ(R)
+      # IDEA Community Edition (www.jetbrains.com/idea)."
+      # Also: For actual development the Android SDK is required and the Google
+      # binaries are also distributed as proprietary software (unlike the
+      # source-code itself).
       platforms = [ "x86_64-linux" ];
       maintainers = with maintainers; [ primeos ];
     };