From 3dfa709706db3fcfb69c6907d2a29dca269caa0a Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Wed, 3 May 2017 08:50:48 +0200 Subject: [PATCH] pythonPackages.line_profiler: fix build --- pkgs/development/python-modules/line_profiler/default.nix | 8 ++++++++ 1 file changed, 8 insertions(+) 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;