anchor.diff:  , lapack
   , writeTextFile
   , cython
  -, setuptoolsBuildHook
   , pythonOlder
   }:
   
  
positive.code:   };
  in buildPythonPackage rec {
    pname = "numpy";
  
    # Attention! v1.22.0 breaks scipy and by extension scikit-learn, so
    # build both to verify they don't break.
    # https://github.com/scipy/scipy/issues/15414
    version = "1.23.3";
  
    format = "pyproject";
    disabled = pythonOlder "3.7";
  
    src = fetchPypi {
  
negative.code:     ./numpy-distutils-C++.patch
    ];
  
    nativeBuildInputs = [ gfortran cython ];
    buildInputs = [ blas lapack ];
  
    # we default openblas to build with 64 threads
  