3
0
Fork 0
forked from mirrors/nixpkgs

gprof2dot: Add new package

gprof2dot is a Python script to convert the output from many profilers
into a dot graph.
This commit is contained in:
Ricardo M. Correia 2015-04-28 20:54:01 +02:00
parent bd5912bf88
commit 4cae83bb70
2 changed files with 24 additions and 0 deletions

View file

@ -0,0 +1,19 @@
{ stdenv, fetchFromGitHub, pythonPackages }:
pythonPackages.buildPythonPackage {
name = "gprof2dot-2015-04-27";
src = fetchFromGitHub {
owner = "jrfonseca";
repo = "gprof2dot";
rev = "6fbb81559609c12e7c64ae5dce7d102a414a7514";
sha256 = "1fff7w6dm6lld11hp2ij97f85ma1154h62dvchq19c5jja3zjw3c";
};
meta = with stdenv.lib; {
homepage = "https://github.com/jrfonseca/gprof2dot";
description = "Python script to convert the output from many profilers into a dot graph";
license = licenses.lgpl3Plus;
platforms = platforms.linux;
};
}

View file

@ -1553,6 +1553,11 @@ let
grails = callPackage ../development/web/grails { jdk = null; };
gprof2dot = callPackage ../development/tools/profiling/gprof2dot {
# Using pypy provides significant performance improvements (~2x)
pythonPackages = pypyPackages;
};
graphviz = callPackage ../tools/graphics/graphviz { };
graphviz-nox = callPackage ../tools/graphics/graphviz {