36 # causes Python packaging conflict with any package requiring rdflib,
37 # so use the unpatched rdflib by default (disables Nipype provenance tracking);
38 # see https://github.com/nipy/nipype/issues/2888:
42 buildPythonPackage rec {
45 disabled = pythonOlder "3.7";
46 format = "setuptools";
49 inherit pname version;
50 hash = "sha256-l3sTFej3D5QWPsB+MeVXG+g/Kt1gIxQcWgascAEm+NE=";
54 substituteInPlace nipype/interfaces/base/tests/test_core.py \
55 --replace "/usr/bin/env bash" "${bash}/bin/bash"
58 pythonRelaxDeps = [ "traits" ];
60 propagatedBuildInputs = [
92 # checks on darwin inspect memory which doesn't work in build environment
93 doCheck = !stdenv.hostPlatform.isDarwin;
94 # ignore tests which incorrect fail to detect xvfb
96 LC_ALL="en_US.UTF-8" pytest nipype/tests -k 'not display and not test_no_et_multiproc'
98 pythonImportsCheck = [ "nipype" ];
101 homepage = "https://nipy.org/nipype/";
102 description = "Neuroimaging in Python: Pipelines and Interfaces";
103 mainProgram = "nipypecli";
104 license = licenses.bsd3;
105 maintainers = with maintainers; [ ashgillman ];