openjdk: extract common meta

Also expands Darwin's openjdk.meta to include most attrs of Linux'
launchpad/nixpkgs/master
Atemu 3 years ago
parent 632417e369
commit 75d0e4645e
  1. 9
      pkgs/development/compilers/openjdk/11.nix
  2. 9
      pkgs/development/compilers/openjdk/12.nix
  3. 9
      pkgs/development/compilers/openjdk/13.nix
  4. 9
      pkgs/development/compilers/openjdk/14.nix
  5. 9
      pkgs/development/compilers/openjdk/15.nix
  6. 9
      pkgs/development/compilers/openjdk/16.nix
  7. 6
      pkgs/development/compilers/openjdk/darwin/11.nix
  8. 6
      pkgs/development/compilers/openjdk/darwin/8.nix
  9. 6
      pkgs/development/compilers/openjdk/darwin/default.nix
  10. 4
      pkgs/development/compilers/openjdk/darwin/meta.nix
  11. 8
      pkgs/development/compilers/openjdk/meta.nix

@ -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

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

@ -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…
Cancel
Save