python3Packages.nipype: fix build, add missing dependencies

This commit is contained in:
Jonathan Ringer 2019-12-13 23:43:35 -08:00 committed by Jon
parent 70d014e414
commit a5097e915d

View File

@ -6,6 +6,8 @@
, click , click
, configparser ? null , configparser ? null
, dateutil , dateutil
, etelemetry
, filelock
, funcsigs , funcsigs
, future , future
, futures , futures
@ -14,6 +16,7 @@
, nibabel , nibabel
, numpy , numpy
, packaging , packaging
, pathlib2
, prov , prov
, psutil , psutil
, pybids , pybids
@ -60,6 +63,8 @@ buildPythonPackage rec {
propagatedBuildInputs = [ propagatedBuildInputs = [
click click
dateutil dateutil
etelemetry
filelock
funcsigs funcsigs
future future
networkx networkx
@ -77,6 +82,7 @@ buildPythonPackage rec {
] ++ stdenv.lib.optional (!isPy3k) [ ] ++ stdenv.lib.optional (!isPy3k) [
configparser configparser
futures futures
pathlib2 # darwin doesn't receive this transitively, but it is in install_requires
]; ];
checkInputs = [ checkInputs = [
@ -91,6 +97,8 @@ buildPythonPackage rec {
which which
]; ];
# checks on darwin inspect memory which doesn't work in build environment
doCheck = !stdenv.isDarwin;
# ignore tests which incorrect fail to detect xvfb # ignore tests which incorrect fail to detect xvfb
checkPhase = '' checkPhase = ''
LC_ALL="en_US.UTF-8" pytest -v nipype -k 'not display' LC_ALL="en_US.UTF-8" pytest -v nipype -k 'not display'