mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
async-profiler: 3.0 -> 4.0
This commit is contained in:
parent
b0476696b4
commit
b99328646b
1 changed files with 5 additions and 2 deletions
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue