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
45 # This is a temporary convenience package for changes waiting to be merged into the primary rdflib repo.
46 neurdflib = callPackage ./neurdflib.nix { };
50 buildPythonPackage rec {
56 inherit pname version;
57 sha256 = "bc56ce63f74c9a9a23c6edeaf77631377e8ad2bea928c898cc89527a47f101cf";
61 substituteInPlace nipype/interfaces/base/tests/test_core.py \
62 --replace "/usr/bin/env bash" "${bash}/bin/bash"
69 propagatedBuildInputs = [
87 ] ++ [ (if useNeurdflib then neurdflib else rdflib) ];
101 # checks on darwin inspect memory which doesn't work in build environment
102 doCheck = !stdenv.isDarwin;
103 # ignore tests which incorrect fail to detect xvfb
105 LC_ALL="en_US.UTF-8" pytest nipype/tests -k 'not display'
107 pythonImportsCheck = [ "nipype" ];
110 homepage = "https://nipy.org/nipype/";
111 description = "Neuroimaging in Python: Pipelines and Interfaces";
112 license = licenses.bsd3;
113 maintainers = with maintainers; [ ashgillman ];