lib.licenses: replace classpath license with exception

The GPL-2.0-with-classpath-exception is deprecated in spdx and the exception Classpath-exception-2.0 should be used instead.
Other Classpath license hace also benn replaced with it.

jopejoe1 61d0373a bb291395

Changed files
+41 -25
lib
pkgs
applications
editors
greenfoot
by-name
bl
bluej
jo
op
openjfx
vi
visualvm
development
compilers
abcl
graalvm
community-edition
temurin-bin
os-specific
linux
firmware
ath9k
+5 -15
lib/licenses.nix
···
fullName = "CeCILL-C Free Software License Agreement";
};
+
classpathException20 = {
+
spdxId = "Classpath-exception-2.0";
+
fullName = "Classpath exception 2.0";
+
};
+
cockroachdb-community-license = {
fullName = "CockroachDB Community License Agreement";
url = "https://www.cockroachlabs.com/cockroachdb-community-license/";
···
fullName = "GNU General Public License v2.0 only";
};
-
gpl2Classpath = {
-
spdxId = "GPL-2.0-with-classpath-exception";
-
fullName = "GNU General Public License v2.0 only (with Classpath exception)";
-
};
-
-
gpl2ClasspathPlus = {
-
fullName = "GNU General Public License v2.0 or later (with Classpath exception)";
-
url = "https://fedoraproject.org/wiki/Licensing/GPL_Classpath_Exception";
-
};
-
gpl2UBDLPlus = {
fullName = "GNU General Public License v3.0 or later (with UBDL exception)";
url = "https://spdx.org/licenses/UBDL-exception.html";
···
gpl3Plus = {
spdxId = "GPL-3.0-or-later";
fullName = "GNU General Public License v3.0 or later";
-
};
-
-
gpl3ClasspathPlus = {
-
fullName = "GNU General Public License v3.0 or later (with Classpath exception)";
-
url = "https://fedoraproject.org/wiki/Licensing/GPL_Classpath_Exception";
};
giftware = {
+4 -1
pkgs/applications/editors/greenfoot/default.nix
···
description = "Simple integrated development environment for Java";
homepage = "https://www.greenfoot.org/";
sourceProvenance = with sourceTypes; [ binaryBytecode ];
-
license = licenses.gpl2ClasspathPlus;
+
license = with licenses; [
+
gpl2Plus
+
classpathException20
+
];
mainProgram = "greenfoot";
maintainers = [ maintainers.chvp ];
platforms = platforms.linux;
+4 -1
pkgs/by-name/bl/bluej/package.nix
···
description = "Simple integrated development environment for Java";
homepage = "https://www.bluej.org/";
sourceProvenance = with lib.sourceTypes; [ binaryBytecode ];
-
license = lib.licenses.gpl2ClasspathPlus;
+
license = with lib.licenses; [
+
gpl2Plus
+
classpathException20
+
];
mainProgram = "bluej";
maintainers = with lib.maintainers; [ chvp ];
platforms = lib.platforms.linux;
+4 -1
pkgs/by-name/jo/jol/package.nix
···
'';
homepage = "https://openjdk.org/projects/code-tools/jol/";
changelog = "https://github.com/openjdk/jol/releases/tag/${version}";
-
license = lib.licenses.gpl2ClasspathPlus;
+
license = with lib.licenses; [
+
gpl2Plus
+
classpathException20
+
];
sourceProvenance = with lib.sourceTypes; [
fromSource
binaryBytecode
+4 -1
pkgs/by-name/op/openjfx/package.nix
···
meta = {
description = "Next-generation Java client toolkit";
homepage = "https://openjdk.org/projects/openjfx/";
-
license = lib.licenses.gpl2Classpath;
+
license = with lib.licenses; [
+
gpl2
+
classpathException20
+
];
maintainers = [ ];
platforms = lib.platforms.unix;
};
+4 -1
pkgs/by-name/vi/visualvm/package.nix
···
SE platform.
'';
homepage = "https://visualvm.github.io";
-
license = licenses.gpl2ClasspathPlus;
+
license = with licenses; [
+
gpl2Plus
+
classpathException20
+
];
platforms = platforms.all;
maintainers = with maintainers; [
michalrus
+4 -1
pkgs/development/compilers/abcl/default.nix
···
meta = {
description = "JVM-based Common Lisp implementation";
homepage = "https://common-lisp.net/project/armedbear/";
-
license = lib.licenses.gpl2Classpath;
+
license = with lib.licenses; [
+
gpl2
+
classpathException20
+
];
mainProgram = "abcl";
teams = [ lib.teams.lisp ];
platforms = lib.platforms.darwin ++ lib.platforms.linux;
+2 -1
pkgs/development/compilers/graalvm/community-edition/buildGraalvm.nix
···
description = "High-Performance Polyglot VM";
license = with licenses; [
upl
-
gpl2Classpath
+
gpl2
+
classpathException20
bsd3
];
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
+4 -1
pkgs/development/compilers/temurin-bin/jdk-darwin-base.nix
···
};
meta = with lib; {
-
license = licenses.gpl2Classpath;
+
license = with licenses; [
+
gpl2
+
classpathException20
+
];
sourceProvenance = with sourceTypes; [
binaryNativeCode
binaryBytecode
+4 -1
pkgs/development/compilers/temurin-bin/jdk-linux-base.nix
···
};
meta = with lib; {
-
license = licenses.gpl2Classpath;
+
license = with licenses; [
+
gpl2
+
classpathException20
+
];
sourceProvenance = with sourceTypes; [
binaryNativeCode
binaryBytecode
+2 -1
pkgs/os-specific/linux/firmware/ath9k/default.nix
···
license = with lib.licenses; [
# see NOTICE.txt for details
bsd3 # almost everything; "the ClearBSD licence"
-
gpl2ClasspathPlus # **/*cmnos_printf.c, only three files
+
gpl2Plus # **/*cmnos_printf.c, only three files
+
classpathException20 # **/*cmnos_printf.c, only three files
mit # **/xtos, **/xtensa
];