37 # causes Python packaging conflict with any package requiring rdflib,
38 # so use the unpatched rdflib by default (disables Nipype provenance tracking);
39 # see https://github.com/nipy/nipype/issues/2888:
40 , useNeurdflib ? false
43 buildPythonPackage rec {
46 disabled = pythonOlder "3.7";
47 format = "setuptools";
50 inherit pname version;
51 hash = "sha256-l3sTFej3D5QWPsB+MeVXG+g/Kt1gIxQcWgascAEm+NE=";
55 substituteInPlace nipype/interfaces/base/tests/test_core.py \
56 --replace "/usr/bin/env bash" "${bash}/bin/bash"
63 pythonRelaxDeps = [ "traits" ];
65 propagatedBuildInputs = [
98 # checks on darwin inspect memory which doesn't work in build environment
99 doCheck = !stdenv.isDarwin;
100 # ignore tests which incorrect fail to detect xvfb
102 LC_ALL="en_US.UTF-8" pytest nipype/tests -k 'not display and not test_no_et_multiproc'
104 pythonImportsCheck = [ "nipype" ];
107 homepage = "https://nipy.org/nipype/";
108 description = "Neuroimaging in Python: Pipelines and Interfaces";
109 mainProgram = "nipypecli";
110 license = licenses.bsd3;
111 maintainers = with maintainers; [ ashgillman ];