diff --git a/pkgs/development/python-modules/line_profiler/default.nix b/pkgs/development/python-modules/line_profiler/default.nix index e6d6f1e1d7e..570bba2a8c4 100644 --- a/pkgs/development/python-modules/line_profiler/default.nix +++ b/pkgs/development/python-modules/line_profiler/default.nix @@ -3,6 +3,8 @@ , fetchPypi , cython , isPyPy +, ipython +, python }: buildPythonPackage rec { @@ -17,8 +19,14 @@ buildPythonPackage rec { buildInputs = [ cython ]; + propagatedBuildInputs = [ ipython ]; + disabled = isPyPy; + checkPhase = '' + ${python.interpreter} -m unittest discover -s tests + ''; + meta = { description = "Line-by-line profiler"; homepage = https://github.com/rkern/line_profiler;