10 buildPythonPackage rec {
13 format = "setuptools";
15 disabled = pythonOlder "3.7";
17 src = fetchFromGitHub {
20 rev = "refs/tags/${version}";
21 hash = "sha256-zA4apOGyrbjBOxUKBARiKmmM9rSVFVGWsDpOaItOoLU=";
24 patches = [ ./tests.patch ];
26 nativeCheckInputs = [ gevent ];
29 ${python.interpreter} run_tests.py
32 pythonImportsCheck = [ "yappi" ];
35 description = "Python profiler that supports multithreading and measuring CPU time";
36 mainProgram = "yappi";
37 homepage = "https://github.com/sumerc/yappi";
38 license = licenses.mit;
39 maintainers = with maintainers; [ orivej ];