Merge pull request #170827 from mweinelt/openjdk-eols

openjdk: mark major version 12 through 16 as EOL
This commit is contained in:
ajs124 2022-05-08 18:32:38 +01:00 committed by GitHub
commit c1602f79c3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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."
];
}