pythonPackages.line_profiler: fix build
This commit is contained in:
parent
8017bc934e
commit
3dfa709706
@ -3,6 +3,8 @@
|
|||||||
, fetchPypi
|
, fetchPypi
|
||||||
, cython
|
, cython
|
||||||
, isPyPy
|
, isPyPy
|
||||||
|
, ipython
|
||||||
|
, python
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
@ -17,8 +19,14 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
buildInputs = [ cython ];
|
buildInputs = [ cython ];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ ipython ];
|
||||||
|
|
||||||
disabled = isPyPy;
|
disabled = isPyPy;
|
||||||
|
|
||||||
|
checkPhase = ''
|
||||||
|
${python.interpreter} -m unittest discover -s tests
|
||||||
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Line-by-line profiler";
|
description = "Line-by-line profiler";
|
||||||
homepage = https://github.com/rkern/line_profiler;
|
homepage = https://github.com/rkern/line_profiler;
|
||||||
|
Loading…
Reference in New Issue
Block a user