depot/third_party/nixpkgs/pkgs/development/python-modules/gprof2dot/default.nix
Default email 5b567aa208 Project import generated by Copybara.
GitOrigin-RevId: 16105403bdd843540cbef9c63fc0f16c1c6eaa70
2021-07-21 09:28:18 +02:00

23 lines
659 B
Nix

{ lib, fetchFromGitHub, buildPythonApplication, python, graphviz }:
buildPythonApplication rec {
pname = "gprof2dot";
version = "2019.11.30";
src = fetchFromGitHub {
owner = "jrfonseca";
repo = "gprof2dot";
rev = version;
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 ];
};
}