mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 07:31:26 +00:00
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:
parent
bd5912bf88
commit
4cae83bb70
19
pkgs/development/tools/profiling/gprof2dot/default.nix
Normal file
19
pkgs/development/tools/profiling/gprof2dot/default.nix
Normal 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;
|
||||
};
|
||||
}
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user