mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-13 08:05:40 +00:00
3c79c31280
appears to work on darwin
23 lines
642 B
Nix
23 lines
642 B
Nix
{ 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 ];
|
|
};
|
|
}
|