depot/third_party/nixpkgs/pkgs/development/python-modules/gprof2dot/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

22 lines
644 B
Nix

{ lib, fetchFromGitHub, buildPythonApplication, python, graphviz }:
buildPythonApplication {
name = "gprof2dot-2019-11-30";
src = fetchFromGitHub {
owner = "jrfonseca";
repo = "gprof2dot";
rev = "2019.11.30";
sha256 = "1nw4cfwimd0djarw4wc756q095xir78js8flmycg6g7sl3l6p27s";
};
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 ];
};
}