mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-24 13:05:08 +00:00
python3Packages.nipype: fix build, add missing dependencies
This commit is contained in:
parent
70d014e414
commit
a5097e915d
@ -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'
|
||||||
|
Loading…
Reference in New Issue
Block a user