anchor.diff:    dontUseCmakeConfigure = true;
   
     propagatedBuildInputs = [
  +    future
       numpy
  -    future
  +    scipy
     ];
   
  -  checkInputs = [ scipy pytestCheckHook mkl ];
     pythonImportsCheck = [ "osqp" ];
  -  dontUseSetuptoolsCheck = true;  # running setup.py fails if false
  -  preCheck = ''
  -    export LD_LIBRARY_PATH=${lib.strings.makeLibraryPath [ mkl ]}:$LD_LIBRARY_PATH;
  -  '';
  +  checkInputs = [ pytestCheckHook ];
  +  dontUseSetuptoolsCheck = true;  # don't run checks twice
  +  disabledTests = [ "mkl_" ];
   
     meta = with lib; {
       description = "The Operator Splitting QP Solver";
  
positive.code:       where x in R^n is the optimization variable
      '';
      homepage = "https://osqp.org/";
      downloadPage = "https://github.com/oxfordcontrol/osqp";
      license = licenses.asl20;
      maintainers = with lib.maintainers; [ drewrisinger ];
    };
  }
  
negative.code: , cmake
  , future
  , numpy
  , scipy
  # check inputs
  , pytestCheckHook
  }:
  
  buildPythonPackage rec {
  