forked from NixOS/nixpkgs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
graalvm-oracle: init at 22 (NixOS#321026)
- Loading branch information
Showing
14 changed files
with
100 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 0 additions & 22 deletions
22
pkgs/development/compilers/graalvm/community-edition/default.nix
This file was deleted.
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
pkgs/development/compilers/graalvm/community-edition/graaljs/default.nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
pkgs/development/compilers/graalvm/community-edition/graalnodejs/default.nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
pkgs/development/compilers/graalvm/community-edition/graalpy/default.nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
pkgs/development/compilers/graalvm/community-edition/graalvm-ce/default.nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ lib, pkgs }: | ||
|
||
lib.makeScope pkgs.newScope (self: { | ||
buildGraalvm = self.callPackage ./community-edition/buildGraalvm.nix; | ||
|
||
buildGraalvmProduct = self.callPackage ./community-edition/buildGraalvmProduct.nix; | ||
|
||
graalvm-ce = self.callPackage ./community-edition/graalvm-ce { }; | ||
|
||
graalvm-ce-musl = self.callPackage ./community-edition/graalvm-ce { useMusl = true; }; | ||
|
||
graaljs = self.callPackage ./community-edition/graaljs { }; | ||
|
||
graalnodejs = self.callPackage ./community-edition/graalnodejs { }; | ||
|
||
graalpy = self.callPackage ./community-edition/graalpy { }; | ||
|
||
truffleruby = self.callPackage ./community-edition/truffleruby { }; | ||
|
||
graalvm-oracle_22 = self.callPackage ./graalvm-oracle { version = "22"; }; | ||
graalvm-oracle_17 = self.callPackage ./graalvm-oracle { version = "17"; }; | ||
graalvm-oracle = self.graalvm-oracle_22; | ||
}) |
16 changes: 16 additions & 0 deletions
16
pkgs/development/compilers/graalvm/graalvm-oracle/default.nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
lib, | ||
stdenv, | ||
fetchurl, | ||
graalvmPackages, | ||
useMusl ? false, | ||
version ? "22", | ||
}: | ||
|
||
graalvmPackages.buildGraalvm { | ||
inherit useMusl version; | ||
src = fetchurl (import ./hashes.nix).${version}.${stdenv.system}; | ||
meta.platforms = builtins.attrNames (import ./hashes.nix).${version}; | ||
meta.license = lib.licenses.unfree; | ||
pname = "graalvm-oracle"; | ||
} |
38 changes: 38 additions & 0 deletions
38
pkgs/development/compilers/graalvm/graalvm-oracle/hashes.nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{ | ||
"22" = { | ||
"aarch64-linux" = { | ||
hash = "sha256-E0Fm6mFB7o39pu7JVWOoXT9BdPWiSXBx2hPvlruD5ls="; | ||
url = "https://download.oracle.com/graalvm/22/archive/graalvm-jdk-22.0.1_linux-aarch64_bin.tar.gz"; | ||
}; | ||
"x86_64-linux" = { | ||
hash = "sha256-1YPNsBygI6N+7UXZ0YS2i3qNf1C1jd4TaQQfKUw09KM="; | ||
url = "https://download.oracle.com/graalvm/22/archive/graalvm-jdk-22.0.1_linux-x64_bin.tar.gz"; | ||
}; | ||
"x86_64-darwin" = { | ||
hash = "sha256-waR39L44Ew8wznRc67tYD3HGFZ2UUD4+ELerWnxNpms="; | ||
url = "https://download.oracle.com/graalvm/22/archive/graalvm-jdk-22.0.1_macos-x64_bin.tar.gz"; | ||
}; | ||
"aarch64-darwin" = { | ||
hash = "sha256-dzUVPih81jopuxAx8sAYdwonNOXHyyirUUOhvStK1F8="; | ||
url = "https://download.oracle.com/graalvm/22/archive/graalvm-jdk-22.0.1_macos-aarch64_bin.tar.gz"; | ||
}; | ||
}; | ||
"17" = { | ||
"aarch64-linux" = { | ||
hash = "sha256-0J/XaXGzNyBgxrW1HgUvtBCPPRfAvzwOx67p/QcY4u0="; | ||
url = "https://download.oracle.com/graalvm/17/archive/graalvm-jdk-17.0.11_linux-aarch64_bin.tar.gz"; | ||
}; | ||
"x86_64-linux" = { | ||
hash = "sha256-t0GHR7MGSZDSAGeX7bsI1ziugaP4euRcJq+covDBUYw="; | ||
url = "https://download.oracle.com/graalvm/17/archive/graalvm-jdk-17.0.11_linux-x64_bin.tar.gz"; | ||
}; | ||
"x86_64-darwin" = { | ||
hash = "sha256-q9b6I5hSVt67gkYzUtsJDSi4bPEkzpkoeC5ZyxfqJRc="; | ||
url = "https://download.oracle.com/graalvm/17/archive/graalvm-jdk-17.0.11_macos-x64_bin.tar.gz"; | ||
}; | ||
"aarch64-darwin" = { | ||
hash = "sha256-o4BGCfnD25AVYwG1Ol+2eDVCgiB+mk4I1JBIjyETK6s="; | ||
url = "https://download.oracle.com/graalvm/17/archive/graalvm-jdk-17.0.11_macos-aarch64_bin.tar.gz"; | ||
}; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters