jextract-21: remove
Upstream was an early-access release and is unmaintained. Note also that the first LTS release of Java to support the FFM API is JDK 25. jextract (currently based on JDK 25) should be used instead.
This commit is contained in:
@@ -1,54 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
makeBinaryWrapper,
|
||||
gradle,
|
||||
jdk21,
|
||||
llvmPackages,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "jextract";
|
||||
version = "unstable-2023-11-27";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "openjdk";
|
||||
repo = "jextract";
|
||||
rev = "8730fcf05c229d035b0db52ee6bd82622e9d03e9"; # Update jextract 21 with latest fixes
|
||||
hash = "sha256-Wct/yx5C0EjDtDyXNYDH5LRmrfq7islXbPVIGBR6x5Y=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
gradle
|
||||
makeBinaryWrapper
|
||||
];
|
||||
|
||||
gradleFlags = [
|
||||
"-Pllvm_home=${lib.getLib llvmPackages.libclang}"
|
||||
"-Pjdk21_home=${jdk21}"
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
gradleCheckTask = "verify";
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/opt/
|
||||
cp -r ./build/jextract $out/opt/jextract
|
||||
makeBinaryWrapper "$out/opt/jextract/bin/jextract" "$out/bin/jextract"
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Tool which mechanically generates Java bindings from a native library headers";
|
||||
mainProgram = "jextract";
|
||||
homepage = "https://github.com/openjdk/jextract";
|
||||
platforms = jdk21.meta.platforms;
|
||||
license = lib.licenses.gpl2Only;
|
||||
maintainers = with lib.maintainers; [ sharzy ];
|
||||
};
|
||||
}
|
||||
@@ -999,6 +999,7 @@ mapAliases {
|
||||
jellyfin-media-player = jellyfin-desktop; # Added 2025-12-14
|
||||
jellyseerr = warnAlias "'jellyseerr' has been renamed to 'seerr'" seerr; # Added 2026-03-17
|
||||
jesec-rtorrent = throw "'jesec-rtorrent' has been removed due to lack of maintenance upstream."; # Added 2025-11-20
|
||||
jextract-21 = throw "'jextract-21' has been removed due to lack of maintenance upstream. Please use 'jextract'"; # Added 2026-05-13
|
||||
jhentai = throw "'jhentai' has been removed, as it is unmaintained"; # Added 2026-01-25
|
||||
jikespg = throw "'jikespg' has been removed due to lack of maintenance upstream."; # Added 2025-06-10
|
||||
jing = jing-trang; # Added 2025-09-18
|
||||
|
||||
Reference in New Issue
Block a user