pythonPackages.line_profiler: fix build

This commit is contained in:
Frederik Rietdijk 2017-05-03 08:50:48 +02:00
parent 8017bc934e
commit 3dfa709706

View File

@ -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;