pythonPackages.root_numpy: fix build

checkPhase must use nosetest
This commit is contained in:
xeji 2018-03-30 20:19:32 +02:00
parent 0426d9001f
commit ebd4d38651

View file

@ -1,4 +1,4 @@
{ lib, fetchPypi, isPy3k, buildPythonPackage, numpy, root }:
{ lib, fetchPypi, isPy3k, buildPythonPackage, numpy, root, nose }:
buildPythonPackage rec {
pname = "root_numpy";
@ -11,6 +11,11 @@ buildPythonPackage rec {
};
disabled = isPy3k; # blocked by #27649
checkInputs = [ nose ];
checkPhase = ''
python setup.py install_lib -d .
nosetests -s -v root_numpy
'';
propagatedBuildInputs = [ numpy root ];