summary refs log tree commit diff
path: root/pkgs/development/python-modules/gprof2dot/default.nix
blob: 48abf5058dfec5d83b9a5cefa8b80c4fc878cd1c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ lib, fetchFromGitHub, buildPythonApplication, python, graphviz }:

buildPythonApplication {
  name = "gprof2dot-2017-09-19";

  src = fetchFromGitHub {
    owner = "jrfonseca";
    repo = "gprof2dot";
    rev = "2017.09.19";
    sha256 = "1b5wvjv5ykbhz7aix7l3y7mg1hxi0vgak4a49gr92sdlz8blj51v";
  };

  checkInputs = [ graphviz ];
  checkPhase = "${python.interpreter} tests/test.py";

  meta = with lib; {
    homepage = https://github.com/jrfonseca/gprof2dot;
    description = "Python script to convert the output from many profilers into a dot graph";
    license = licenses.lgpl3Plus;
    maintainers = [ maintainers.pmiddend ];
  };
}