forked from mirrors/nixpkgs
FlameGraph: init at 182b24fb
This commit is contained in:
parent
6a4b71afa5
commit
bf0725ac7d
27
pkgs/development/tools/flamegraph/default.nix
Normal file
27
pkgs/development/tools/flamegraph/default.nix
Normal file
|
@ -0,0 +1,27 @@
|
|||
{ stdenv, fetchFromGitHub, perl }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "FlameGraph-2015-10-10";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "brendangregg";
|
||||
repo = "FlameGraph";
|
||||
rev = "182b24fb635345d48c91ed1de58a08b620312f3d";
|
||||
sha256 = "1djz0wl8202a6j87ka9j3d8iw3bli056lrn73gv2i65p16rwk9kc";
|
||||
};
|
||||
|
||||
buildInputs = [ perl ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
for x in $src/*.pl $src/*.awk $src/dev/*.pl $src/dev/*.d; do
|
||||
cp $x $out/bin
|
||||
done
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
license = licenses.cddl;
|
||||
homepage = http://www.brendangregg.com/flamegraphs.html;
|
||||
description = "Visualization for profiled code";
|
||||
};
|
||||
}
|
|
@ -1504,6 +1504,8 @@ let
|
|||
|
||||
fdk_aac = callPackage ../development/libraries/fdk-aac { };
|
||||
|
||||
flameGraph = callPackage ../development/tools/flamegraph { };
|
||||
|
||||
flvtool2 = callPackage ../tools/video/flvtool2 { };
|
||||
|
||||
fontforge = lowPrio (callPackage ../tools/misc/fontforge { });
|
||||
|
|
Loading…
Reference in a new issue