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:
parent
bf5f25a163
commit
dacd54d3f7
|
@ -147,7 +147,7 @@ let
|
|||
|
||||
disallowedReferences = [ openjdk11-bootstrap ];
|
||||
|
||||
meta = import ./meta.nix lib;
|
||||
meta = import ./meta.nix lib version;
|
||||
|
||||
passthru = {
|
||||
architecture = "";
|
||||
|
|
|
@ -151,7 +151,7 @@ let
|
|||
|
||||
disallowedReferences = [ openjdk11 ];
|
||||
|
||||
meta = import ./meta.nix lib;
|
||||
meta = import ./meta.nix lib version;
|
||||
|
||||
passthru = {
|
||||
architecture = "";
|
||||
|
|
|
@ -151,7 +151,7 @@ let
|
|||
|
||||
disallowedReferences = [ openjdk13-bootstrap ];
|
||||
|
||||
meta = import ./meta.nix lib;
|
||||
meta = import ./meta.nix lib version;
|
||||
|
||||
passthru = {
|
||||
architecture = "";
|
||||
|
|
|
@ -147,7 +147,7 @@ let
|
|||
|
||||
disallowedReferences = [ openjdk14-bootstrap ];
|
||||
|
||||
meta = import ./meta.nix lib;
|
||||
meta = import ./meta.nix lib version;
|
||||
|
||||
passthru = {
|
||||
architecture = "";
|
||||
|
|
|
@ -147,7 +147,7 @@ let
|
|||
|
||||
disallowedReferences = [ openjdk15-bootstrap ];
|
||||
|
||||
meta = import ./meta.nix lib;
|
||||
meta = import ./meta.nix lib version;
|
||||
|
||||
passthru = {
|
||||
architecture = "";
|
||||
|
|
|
@ -154,7 +154,7 @@ let
|
|||
|
||||
disallowedReferences = [ openjdk16-bootstrap ];
|
||||
|
||||
meta = import ./meta.nix lib;
|
||||
meta = import ./meta.nix lib version.feature;
|
||||
|
||||
passthru = {
|
||||
architecture = "";
|
||||
|
|
|
@ -157,7 +157,7 @@ let
|
|||
|
||||
disallowedReferences = [ openjdk17-bootstrap ];
|
||||
|
||||
meta = import ./meta.nix lib;
|
||||
meta = import ./meta.nix lib version.feature;
|
||||
|
||||
passthru = {
|
||||
architecture = "";
|
||||
|
|
|
@ -86,7 +86,7 @@ let
|
|||
home = jdk;
|
||||
};
|
||||
|
||||
meta = import ./meta.nix lib;
|
||||
meta = import ./meta.nix lib version;
|
||||
};
|
||||
in
|
||||
jdk
|
||||
|
|
|
@ -86,7 +86,7 @@ let
|
|||
home = jdk;
|
||||
};
|
||||
|
||||
meta = import ./meta.nix lib;
|
||||
meta = import ./meta.nix lib version;
|
||||
};
|
||||
in
|
||||
jdk
|
||||
|
|
|
@ -75,7 +75,7 @@ let
|
|||
home = jdk;
|
||||
};
|
||||
|
||||
meta = import ./meta.nix lib;
|
||||
meta = import ./meta.nix lib version;
|
||||
};
|
||||
in
|
||||
jdk
|
||||
|
|
|
@ -90,7 +90,7 @@ let
|
|||
home = jdk;
|
||||
};
|
||||
|
||||
meta = import ./meta.nix lib;
|
||||
meta = import ./meta.nix lib version;
|
||||
};
|
||||
in
|
||||
jdk
|
||||
|
|
|
@ -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/";
|
||||
}
|
||||
|
|
|
@ -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."
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue