From a5097e915d6fce6812e7c67eb7995cc2a358b92c Mon Sep 17 00:00:00 2001 From: Jonathan Ringer Date: Fri, 13 Dec 2019 23:43:35 -0800 Subject: [PATCH] python3Packages.nipype: fix build, add missing dependencies --- pkgs/development/python-modules/nipype/default.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pkgs/development/python-modules/nipype/default.nix b/pkgs/development/python-modules/nipype/default.nix index 4d80a0638c72..13c35999cf94 100644 --- a/pkgs/development/python-modules/nipype/default.nix +++ b/pkgs/development/python-modules/nipype/default.nix @@ -6,6 +6,8 @@ , click , configparser ? null , dateutil +, etelemetry +, filelock , funcsigs , future , futures @@ -14,6 +16,7 @@ , nibabel , numpy , packaging +, pathlib2 , prov , psutil , pybids @@ -60,6 +63,8 @@ buildPythonPackage rec { propagatedBuildInputs = [ click dateutil + etelemetry + filelock funcsigs future networkx @@ -77,6 +82,7 @@ buildPythonPackage rec { ] ++ stdenv.lib.optional (!isPy3k) [ configparser futures + pathlib2 # darwin doesn't receive this transitively, but it is in install_requires ]; checkInputs = [ @@ -91,6 +97,8 @@ buildPythonPackage rec { which ]; + # checks on darwin inspect memory which doesn't work in build environment + doCheck = !stdenv.isDarwin; # ignore tests which incorrect fail to detect xvfb checkPhase = '' LC_ALL="en_US.UTF-8" pytest -v nipype -k 'not display'