Merge pull request #11314 from anderspapitto/flamegraph
FlameGraph: init at 182b24fb
This commit is contained in:
commit
7feaf55b7e
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";
|
||||
};
|
||||
}
|
@ -1594,6 +1594,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 New Issue
Block a user