Commit 61d0373a authored by jopejoe1's avatar jopejoe1 Committed by Alyssa Ross
Browse files

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.
parent bb291395
Loading
Loading
Loading
Loading
+5 −15
Original line number Diff line number Diff line
@@ -439,6 +439,11 @@ lib.mapAttrs mkLicense (
      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/";
@@ -645,16 +650,6 @@ lib.mapAttrs mkLicense (
      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";
@@ -680,11 +675,6 @@ lib.mapAttrs mkLicense (
      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 = {
      spdxId = "Giftware";
      fullName = "Giftware License";
+4 −1
Original line number Diff line number Diff line
@@ -55,7 +55,10 @@ stdenv.mkDerivation rec {
    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
Original line number Diff line number Diff line
@@ -59,7 +59,10 @@ stdenv.mkDerivation rec {
    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
Original line number Diff line number Diff line
@@ -47,7 +47,10 @@ maven.buildMavenPackage rec {
    '';
    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
Original line number Diff line number Diff line
@@ -190,7 +190,10 @@ stdenv.mkDerivation {
  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;
  };
Loading