android-studio: Fix the license (unfree)

Android Studio states that it contains proprietary code!
This commit is contained in:
Michael Weiss 2020-04-12 17:23:46 +02:00
parent c26ffbf023
commit adcd8baa02
No known key found for this signature in database
GPG key ID: 5BE487C4D4771D83

View file

@ -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 ];
};