python2Packages.numpy: don't use setuptools hook

because we use the pip build phase already with pyproject.
This commit is contained in:
Frederik Rietdijk 2022-09-15 19:03:29 +02:00
parent 2739e0f7d1
commit 161f8174b0

View file

@ -9,7 +9,7 @@
, writeTextFile
, isPyPy
, cython
, setuptoolsBuildHook
, setuptools
}:
assert (!blas.isILP64) && (!lapack.isILP64);
@ -47,7 +47,7 @@ in buildPythonPackage rec {
sha256 = "e5cf3fdf13401885e8eea8170624ec96225e2174eb0c611c6f26dd33b489e3ff";
};
nativeBuildInputs = [ gfortran pytest cython setuptoolsBuildHook ];
nativeBuildInputs = [ gfortran pytest cython setuptools ];
buildInputs = [ blas lapack ];
patches = lib.optionals python.hasDistutilsCxxPatch [