async-profiler: 3.0 -> 4.0

This commit is contained in:
Maxim Schuwalow 2025-04-19 14:41:29 +02:00
parent b0476696b4
commit b99328646b
No known key found for this signature in database
GPG key ID: 0A7E4E2D8968736B

View file

@ -4,16 +4,17 @@
fetchFromGitHub,
jdk,
makeWrapper,
nix-update-script,
}:
stdenv.mkDerivation rec {
pname = "async-profiler";
version = "3.0";
version = "4.0";
src = fetchFromGitHub {
owner = "jvm-profiling-tools";
repo = "async-profiler";
rev = "v${version}";
hash = "sha256-0CCJoRjRLq4LpiRD0ibzK8So9qSQymePCTYUI60Oy2k=";
hash = "sha256-4S5Lbhqu2V7TzrbFf3G3G4OEYLU6w5lcgUl49k9YqSA=";
};
nativeBuildInputs = [ makeWrapper ];
@ -35,6 +36,8 @@ stdenv.mkDerivation rec {
wrapProgram $out/bin/async-profiler --prefix PATH : ${lib.makeBinPath [ jdk ]}
'';
passthru.updateScript = nix-update-script { };
meta = with lib; {
description = "Low overhead sampling profiler for Java that does not suffer from Safepoint bias problem";
homepage = "https://github.com/jvm-profiling-tools/async-profiler";