Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 644 B view raw
1{ lib, fetchFromGitHub, buildPythonApplication, python, graphviz }: 2 3buildPythonApplication { 4 name = "gprof2dot-2019-11-30"; 5 6 src = fetchFromGitHub { 7 owner = "jrfonseca"; 8 repo = "gprof2dot"; 9 rev = "2019.11.30"; 10 sha256 = "1nw4cfwimd0djarw4wc756q095xir78js8flmycg6g7sl3l6p27s"; 11 }; 12 13 checkInputs = [ graphviz ]; 14 checkPhase = "${python.interpreter} tests/test.py"; 15 16 meta = with lib; { 17 homepage = "https://github.com/jrfonseca/gprof2dot"; 18 description = "Python script to convert the output from many profilers into a dot graph"; 19 license = licenses.lgpl3Plus; 20 maintainers = [ maintainers.pmiddend ]; 21 }; 22}