14 buildPythonPackage rec {
15 pname = "line-profiler";
17 format = "setuptools";
19 disabled = pythonOlder "3.6" || isPyPy;
22 pname = "line_profiler";
24 hash = "sha256-qlZXiw/1p1b+GAs/2nvWfCe71Hiz0BJGEtjPAOSiHfI=";
33 passthru.optional-dependencies = {
34 ipython = [ ipython ];
40 ] ++ passthru.optional-dependencies.ipython;
42 dontUseCmakeConfigure = true;
45 rm -f _line_profiler.c
50 export PATH=$out/bin:$PATH
53 pythonImportsCheck = [
58 description = "Line-by-line profiler";
59 homepage = "https://github.com/pyutils/line_profiler";
60 changelog = "https://github.com/pyutils/line_profiler/blob/v${version}/CHANGELOG.rst";
61 license = licenses.bsd3;
62 maintainers = with maintainers; [ fridh ];