Loading pkgs/development/python-modules/line-profiler/default.nix +9 −7 Original line number Diff line number Diff line Loading @@ -4,11 +4,11 @@ , cython , isPyPy , ipython , python , scikit-build , cmake , pythonOlder , pytestCheckHook , ubelt }: buildPythonPackage rec { Loading @@ -30,13 +30,14 @@ buildPythonPackage rec { scikit-build ]; propagatedBuildInputs = [ ipython ]; passthru.optional-dependencies = { ipython = [ ipython ]; }; nativeCheckInputs = [ pytestCheckHook ]; ubelt ] ++ passthru.optional-dependencies.ipython; dontUseCmakeConfigure = true; Loading @@ -44,8 +45,9 @@ buildPythonPackage rec { rm -f _line_profiler.c ''; checkPhase = '' PYTHONPATH=$out/${python.sitePackages}:$PYTHONPATH cd tests && ${python.interpreter} -m unittest discover -s . preCheck = '' rm -r line_profiler export PATH=$out/bin:$PATH ''; pythonImportsCheck = [ Loading Loading
pkgs/development/python-modules/line-profiler/default.nix +9 −7 Original line number Diff line number Diff line Loading @@ -4,11 +4,11 @@ , cython , isPyPy , ipython , python , scikit-build , cmake , pythonOlder , pytestCheckHook , ubelt }: buildPythonPackage rec { Loading @@ -30,13 +30,14 @@ buildPythonPackage rec { scikit-build ]; propagatedBuildInputs = [ ipython ]; passthru.optional-dependencies = { ipython = [ ipython ]; }; nativeCheckInputs = [ pytestCheckHook ]; ubelt ] ++ passthru.optional-dependencies.ipython; dontUseCmakeConfigure = true; Loading @@ -44,8 +45,9 @@ buildPythonPackage rec { rm -f _line_profiler.c ''; checkPhase = '' PYTHONPATH=$out/${python.sitePackages}:$PYTHONPATH cd tests && ${python.interpreter} -m unittest discover -s . preCheck = '' rm -r line_profiler export PATH=$out/bin:$PATH ''; pythonImportsCheck = [ Loading