python.pkgs.nipype: Futures is python 2 only. Also fix building.
This commit is contained in:
parent
3074027738
commit
12c0dd5432
@ -18,6 +18,8 @@
|
||||
, psutil
|
||||
, pydot
|
||||
, pytest
|
||||
, pytest_xdist
|
||||
, pytest-forked
|
||||
, scipy
|
||||
, simplejson
|
||||
, traits
|
||||
@ -47,8 +49,6 @@ buildPythonPackage rec {
|
||||
postPatch = ''
|
||||
substituteInPlace nipype/interfaces/base/tests/test_core.py \
|
||||
--replace "/usr/bin/env bash" "${bash}/bin/bash"
|
||||
|
||||
rm pytest.ini
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
@ -56,7 +56,6 @@ buildPythonPackage rec {
|
||||
dateutil
|
||||
funcsigs
|
||||
future
|
||||
futures
|
||||
networkx
|
||||
nibabel
|
||||
numpy
|
||||
@ -70,9 +69,10 @@ buildPythonPackage rec {
|
||||
xvfbwrapper
|
||||
] ++ stdenv.lib.optional (!isPy3k) [
|
||||
configparser
|
||||
futures
|
||||
];
|
||||
|
||||
checkInputs = [ pytest mock pytestcov codecov which glibcLocales ];
|
||||
checkInputs = [ pytest mock pytestcov pytest_xdist pytest-forked codecov which glibcLocales ];
|
||||
|
||||
checkPhase = ''
|
||||
LC_ALL="en_US.UTF-8" py.test -v --doctest-modules nipype
|
||||
|
Loading…
Reference in New Issue
Block a user