anchor.diff:  , gfortran
   , openblas
   , metis
  -, cmake
   , fixDarwinDylibNames
   , gnum4
   , enableCuda ? false
  
positive.code:   };
  
    nativeBuildInputs = [
      cmake
      gnum4
    ] ++ stdenv.lib.optional stdenv.isDarwin fixDarwinDylibNames;
  
  
negative.code:     gfortran.cc.lib
    ] ++ stdenv.lib.optional enableCuda cudatoolkit;
  
    preConfigure = ''
      mkdir -p $out/lib
      mkdir -p $dev/include
      mkdir -p $doc/share/doc/${pname}-${version}
  
      # Mongoose and GraphBLAS are packaged separately
      sed -i "Makefile" -e '/GraphBLAS\|Mongoose/d'
  
      sed -i "SuiteSparse_config/SuiteSparse_config.mk" \
          -e '/CHOLMOD_CONFIG ?=/ s/$/ -DNPARTITION/'
  