openjdk: extract common meta
Also expands Darwin's openjdk.meta to include most attrs of Linux'
This commit is contained in:
parent
632417e369
commit
75d0e4645e
11 changed files with 21 additions and 63 deletions
|
@ -136,14 +136,7 @@ let
|
|||
|
||||
disallowedReferences = [ openjdk11-bootstrap ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "http://openjdk.java.net/";
|
||||
license = licenses.gpl2;
|
||||
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";
|
||||
};
|
||||
meta = import ./meta.nix lib;
|
||||
|
||||
passthru = {
|
||||
architecture = "";
|
||||
|
|
|
@ -145,14 +145,7 @@ let
|
|||
|
||||
disallowedReferences = [ openjdk11 ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "http://openjdk.java.net/";
|
||||
license = licenses.gpl2;
|
||||
description = "The open-source Java Development Kit";
|
||||
maintainers = with maintainers; [ edwtjo ];
|
||||
platforms = [ "i686-linux" "x86_64-linux" "aarch64-linux" "armv7l-linux" "armv6l-linux" ];
|
||||
mainProgram = "java";
|
||||
};
|
||||
meta = import ./meta.nix lib;
|
||||
|
||||
passthru = {
|
||||
architecture = "";
|
||||
|
|
|
@ -145,14 +145,7 @@ let
|
|||
|
||||
disallowedReferences = [ openjdk13-bootstrap ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "http://openjdk.java.net/";
|
||||
license = licenses.gpl2;
|
||||
description = "The open-source Java Development Kit";
|
||||
maintainers = with maintainers; [ edwtjo ];
|
||||
platforms = [ "i686-linux" "x86_64-linux" "aarch64-linux" "armv7l-linux" "armv6l-linux" ];
|
||||
mainProgram = "java";
|
||||
};
|
||||
meta = import ./meta.nix lib;
|
||||
|
||||
passthru = {
|
||||
architecture = "";
|
||||
|
|
|
@ -141,14 +141,7 @@ let
|
|||
|
||||
disallowedReferences = [ openjdk14-bootstrap ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://openjdk.java.net/";
|
||||
license = licenses.gpl2;
|
||||
description = "The open-source Java Development Kit";
|
||||
maintainers = with maintainers; [ edwtjo ];
|
||||
platforms = [ "i686-linux" "x86_64-linux" "aarch64-linux" "armv7l-linux" "armv6l-linux" ];
|
||||
mainProgram = "java";
|
||||
};
|
||||
meta = import ./meta.nix lib;
|
||||
|
||||
passthru = {
|
||||
architecture = "";
|
||||
|
|
|
@ -141,14 +141,7 @@ let
|
|||
|
||||
disallowedReferences = [ openjdk15-bootstrap ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://openjdk.java.net/";
|
||||
license = licenses.gpl2;
|
||||
description = "The open-source Java Development Kit";
|
||||
maintainers = with maintainers; [ edwtjo ];
|
||||
platforms = [ "i686-linux" "x86_64-linux" "aarch64-linux" "armv7l-linux" "armv6l-linux" ];
|
||||
mainProgram = "java";
|
||||
};
|
||||
meta = import ./meta.nix lib;
|
||||
|
||||
passthru = {
|
||||
architecture = "";
|
||||
|
|
|
@ -147,14 +147,7 @@ let
|
|||
|
||||
disallowedReferences = [ openjdk16-bootstrap ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://openjdk.java.net/";
|
||||
license = licenses.gpl2;
|
||||
description = "The open-source Java Development Kit";
|
||||
maintainers = with maintainers; [ edwtjo ];
|
||||
platforms = [ "i686-linux" "x86_64-linux" "aarch64-linux" "armv7l-linux" "armv6l-linux" ];
|
||||
mainProgram = "java";
|
||||
};
|
||||
meta = import ./meta.nix lib;
|
||||
|
||||
passthru = {
|
||||
architecture = "";
|
||||
|
|
|
@ -53,10 +53,6 @@ let
|
|||
home = jdk;
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
license = licenses.gpl2;
|
||||
platforms = platforms.darwin;
|
||||
};
|
||||
|
||||
meta = import ./meta.nix lib;
|
||||
};
|
||||
in jdk
|
||||
|
|
|
@ -57,10 +57,6 @@ let
|
|||
home = jdk;
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
license = licenses.gpl2;
|
||||
platforms = platforms.darwin;
|
||||
};
|
||||
|
||||
meta = import ./meta.nix lib;
|
||||
};
|
||||
in jdk
|
||||
|
|
|
@ -54,10 +54,6 @@ let
|
|||
home = jdk;
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
license = licenses.gpl2;
|
||||
platforms = platforms.darwin;
|
||||
};
|
||||
|
||||
meta = import ./meta.nix lib;
|
||||
};
|
||||
in jdk
|
||||
|
|
4
pkgs/development/compilers/openjdk/darwin/meta.nix
Normal file
4
pkgs/development/compilers/openjdk/darwin/meta.nix
Normal file
|
@ -0,0 +1,4 @@
|
|||
lib: (removeAttrs (import ../meta.nix lib) [ "maintainers" ]) // {
|
||||
platforms = lib.platforms.darwin;
|
||||
homepage = "https://www.azul.com/";
|
||||
}
|
8
pkgs/development/compilers/openjdk/meta.nix
Normal file
8
pkgs/development/compilers/openjdk/meta.nix
Normal file
|
@ -0,0 +1,8 @@
|
|||
lib: with lib; {
|
||||
homepage = "http://openjdk.java.net/";
|
||||
license = licenses.gpl2;
|
||||
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";
|
||||
}
|
Loading…
Reference in a new issue