anchor.diff:      runHook postInstall
     '';
   
  -  doInstallCheck = doCheck;
  -  doCheck = false;
  +  # We run all tests after software has been installed since that is
  +  # a common idiom in Python
  +  doInstallCheck = doInstallCheck;
  +
     installCheckPhase = attrs.checkPhase or ''
       runHook preCheck
       ${python.interpreter} nix_run_setup.py test
  
positive.code: 
    # propagate python/setuptools to active setup-hook in nix-shell
    propagatedBuildInputs = propagatedBuildInputs ++ [ python setuptools ];
  
    pythonPath = pythonPath;
  
    configurePhase = attrs.configurePhase or ''
      runHook preConfigure
  
negative.code: , buildInputs ? []
  
  # propagate build dependencies so in case we have A -> B -> C,
  # C can import package A propagated by B 
  , propagatedBuildInputs ? []
  
  # passed to "python setup.py build_ext"
  # https://github.com/pypa/pip/issues/881
  , setupPyBuildFlags ? []
  
  