jhiccup: init at 2.0.8
Signed-off-by: Austin Seipp <aseipp@pobox.com>
This commit is contained in:
parent
d2d859d5c5
commit
f330b48b64
36
pkgs/development/tools/java/jhiccup/default.nix
Normal file
36
pkgs/development/tools/java/jhiccup/default.nix
Normal file
@ -0,0 +1,36 @@
|
||||
{ stdenv, fetchzip }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "jhiccup-${version}";
|
||||
version = "2.0.8";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://www.azul.com/files/jHiccup-${version}-dist.zip";
|
||||
sha256 = "1q4wd5ywisgh0f4ic7iglxai0gc8mnl1pkjw1hm1xdij8j5i488g";
|
||||
};
|
||||
|
||||
configurePhase = ":";
|
||||
buildPhase = ":";
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin $out/share/java
|
||||
cp *.jar $out/share/java
|
||||
|
||||
# Fix version number (out of date at time of import), and path to
|
||||
# jHiccup.jar
|
||||
for x in ./jHiccup ./jHiccupLogProcessor; do
|
||||
substituteInPlace $x \
|
||||
--replace 'JHICCUP_Version=2.0.5' 'JHICCUP_Version=${version}' \
|
||||
--replace '$INSTALLED_PATH' $out/share/java
|
||||
done
|
||||
|
||||
mv jHiccup jHiccupLogProcessor $out/bin/
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Measure JVM application stalls and GC pauses";
|
||||
homepage = https://www.azul.com/jhiccup/;
|
||||
license = stdenv.lib.licenses.cc0;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
maintainers = with stdenv.lib.maintainers; [ thoughtpolice ];
|
||||
};
|
||||
}
|
@ -8253,6 +8253,8 @@ with pkgs;
|
||||
inherit (gnu) mig;
|
||||
};
|
||||
|
||||
jhiccup = callPackage ../development/tools/java/jhiccup { };
|
||||
|
||||
valgrind = callPackage ../development/tools/analysis/valgrind {
|
||||
inherit (darwin) xnu bootstrap_cmds cctools;
|
||||
llvm = llvm_39;
|
||||
|
Loading…
Reference in New Issue
Block a user