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 }: 2 3 buildPythonApplication rec { 4 pname = "gprof2dot"; 5 - version = "2019.11.30"; 6 7 src = fetchFromGitHub { 8 owner = "jrfonseca"; 9 repo = "gprof2dot"; 10 rev = version; 11 - sha256 = "1nw4cfwimd0djarw4wc756q095xir78js8flmycg6g7sl3l6p27s"; 12 }; 13 14 checkInputs = [ graphviz ]; 15 - checkPhase = "${python.interpreter} tests/test.py"; 16 17 meta = with lib; { 18 homepage = "https://github.com/jrfonseca/gprof2dot";
··· 1 + { lib 2 + , fetchFromGitHub 3 + , buildPythonApplication 4 + , python 5 + , graphviz 6 + }: 7 8 buildPythonApplication rec { 9 pname = "gprof2dot"; 10 + version = "2021.02.21"; 11 12 src = fetchFromGitHub { 13 owner = "jrfonseca"; 14 repo = "gprof2dot"; 15 rev = version; 16 + sha256 = "1jjhsjf5fdi1fkn7mvhnzkh6cynl8gcjrygd3cya5mmda3akhzic"; 17 }; 18 19 + makeWrapperArgs = [ 20 + "--prefix PATH : ${lib.makeBinPath [ graphviz ]}" 21 + ]; 22 + 23 + # Needed so dot is on path of the test script 24 checkInputs = [ graphviz ]; 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 + ''; 34 35 meta = with lib; { 36 homepage = "https://github.com/jrfonseca/gprof2dot";