lol

Merge pull request #143220 from drewrisinger/dr-pr-bump-gprof2dot

authored by

Sandro and committed by
GitHub
12faa881 7dd44412

+22 -4
+22 -4
pkgs/development/python-modules/gprof2dot/default.nix
··· 1 - { lib, fetchFromGitHub, buildPythonApplication, python, graphviz }: 1 + { lib 2 + , fetchFromGitHub 3 + , buildPythonApplication 4 + , python 5 + , graphviz 6 + }: 2 7 3 8 buildPythonApplication rec { 4 9 pname = "gprof2dot"; 5 - version = "2019.11.30"; 10 + version = "2021.02.21"; 6 11 7 12 src = fetchFromGitHub { 8 13 owner = "jrfonseca"; 9 14 repo = "gprof2dot"; 10 15 rev = version; 11 - sha256 = "1nw4cfwimd0djarw4wc756q095xir78js8flmycg6g7sl3l6p27s"; 16 + sha256 = "1jjhsjf5fdi1fkn7mvhnzkh6cynl8gcjrygd3cya5mmda3akhzic"; 12 17 }; 13 18 19 + makeWrapperArgs = [ 20 + "--prefix PATH : ${lib.makeBinPath [ graphviz ]}" 21 + ]; 22 + 23 + # Needed so dot is on path of the test script 14 24 checkInputs = [ graphviz ]; 15 - checkPhase = "${python.interpreter} tests/test.py"; 25 + 26 + checkPhase = '' 27 + runHook preCheck 28 + 29 + # if options not specified, will use unwrapped gprof2dot from original source 30 + ${python.interpreter} tests/test.py --python bash --gprof2dot $out/bin/gprof2dot 31 + 32 + runHook postCheck 33 + ''; 16 34 17 35 meta = with lib; { 18 36 homepage = "https://github.com/jrfonseca/gprof2dot";