From adcd8baa02f18c9f18bfb03ace994bffe7041e19 Mon Sep 17 00:00:00 2001 From: Michael Weiss Date: Sun, 12 Apr 2020 17:23:46 +0200 Subject: [PATCH] android-studio: Fix the license (unfree) Android Studio states that it contains proprietary code! --- pkgs/applications/editors/android-studio/common.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/editors/android-studio/common.nix b/pkgs/applications/editors/android-studio/common.nix index 8df24137e58b..0625431462cb 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 ]; };