openjdk: mark major version 12 through 16 as EOL

https://endoflife.date/java
https://www.azul.com/products/azul-support-roadmap/

Related: #170825
This commit is contained in:
Martin Weinelt 2022-04-29 01:00:57 +02:00
parent bf5f25a163
commit dacd54d3f7
No known key found for this signature in database
GPG key ID: 87C1E9888F856759
13 changed files with 16 additions and 13 deletions

View file

@ -147,7 +147,7 @@ let
disallowedReferences = [ openjdk11-bootstrap ];
meta = import ./meta.nix lib;
meta = import ./meta.nix lib version;
passthru = {
architecture = "";

View file

@ -151,7 +151,7 @@ let
disallowedReferences = [ openjdk11 ];
meta = import ./meta.nix lib;
meta = import ./meta.nix lib version;
passthru = {
architecture = "";

View file

@ -151,7 +151,7 @@ let
disallowedReferences = [ openjdk13-bootstrap ];
meta = import ./meta.nix lib;
meta = import ./meta.nix lib version;
passthru = {
architecture = "";

View file

@ -147,7 +147,7 @@ let
disallowedReferences = [ openjdk14-bootstrap ];
meta = import ./meta.nix lib;
meta = import ./meta.nix lib version;
passthru = {
architecture = "";

View file

@ -147,7 +147,7 @@ let
disallowedReferences = [ openjdk15-bootstrap ];
meta = import ./meta.nix lib;
meta = import ./meta.nix lib version;
passthru = {
architecture = "";

View file

@ -154,7 +154,7 @@ let
disallowedReferences = [ openjdk16-bootstrap ];
meta = import ./meta.nix lib;
meta = import ./meta.nix lib version.feature;
passthru = {
architecture = "";

View file

@ -157,7 +157,7 @@ let
disallowedReferences = [ openjdk17-bootstrap ];
meta = import ./meta.nix lib;
meta = import ./meta.nix lib version.feature;
passthru = {
architecture = "";

View file

@ -86,7 +86,7 @@ let
home = jdk;
};
meta = import ./meta.nix lib;
meta = import ./meta.nix lib version;
};
in
jdk

View file

@ -86,7 +86,7 @@ let
home = jdk;
};
meta = import ./meta.nix lib;
meta = import ./meta.nix lib version;
};
in
jdk

View file

@ -75,7 +75,7 @@ let
home = jdk;
};
meta = import ./meta.nix lib;
meta = import ./meta.nix lib version;
};
in
jdk

View file

@ -90,7 +90,7 @@ let
home = jdk;
};
meta = import ./meta.nix lib;
meta = import ./meta.nix lib version;
};
in
jdk

View file

@ -1,4 +1,4 @@
lib: (removeAttrs (import ../meta.nix lib) [ "maintainers" ]) // {
lib: version: (removeAttrs (import ../meta.nix lib version) [ "maintainers" ]) // {
platforms = lib.platforms.darwin;
homepage = "https://www.azul.com/";
}

View file

@ -1,8 +1,11 @@
lib: with lib; {
lib: version: with lib; {
homepage = "https://openjdk.java.net/";
license = licenses.gpl2Only;
description = "The open-source Java Development Kit";
maintainers = with maintainers; [ edwtjo asbachb ];
platforms = [ "i686-linux" "x86_64-linux" "aarch64-linux" "armv7l-linux" "armv6l-linux" ];
mainProgram = "java";
knownVulnerabilities = optionals (builtins.elem (versions.major version) [ "12" "13" "14" "15" "16" ]) [
"This OpenJDK version has reached its end of life."
];
}