anchor.diff:  , xvfbwrapper
   , pytestcov
   , codecov
  +, sphinx
   # other dependencies
   , which
   , bash
  
positive.code:   doCheck = !stdenv.isDarwin;
    # ignore tests which incorrect fail to detect xvfb
    checkPhase = ''
      LC_ALL="en_US.UTF-8" pytest -v nipype -k 'not display'
    '';
  
    meta = with stdenv.lib; {
      homepage = "https://nipy.org/nipype/";
      description = "Neuroimaging in Python: Pipelines and Interfaces";
      license = licenses.bsd3;
      maintainers = with maintainers; [ ashgillman ];
      # tests hang, blocking reviews of other packages
      broken = isPy38;
    };
  }
  
negative.code: 
  buildPythonPackage rec {
    pname = "nipype";
    version = "1.4.2";
  
    src = fetchPypi {
      inherit pname version;
      sha256 = "1nr0z0k4xx1vswkp03g1lf8141mr4j2fbwd7wmpay4vz46qcp786";
    };
  
    postPatch = ''
      substituteInPlace nipype/interfaces/base/tests/test_core.py \
        --replace "/usr/bin/env bash" "${bash}/bin/bash"
    '';
  
    nativeBuildInputs = [
      sphinx
    ];
  
    propagatedBuildInputs = [
      click
  