diff --git a/pkgs/development/python-modules/reproject/default.nix b/pkgs/development/python-modules/reproject/default.nix index 3baf811140f9..00060c08bc2e 100644 --- a/pkgs/development/python-modules/reproject/default.nix +++ b/pkgs/development/python-modules/reproject/default.nix @@ -6,6 +6,7 @@ , cython , fetchPypi , numpy +, oldest-supported-numpy , pytest-astropy , pytestCheckHook , pythonOlder @@ -25,9 +26,16 @@ buildPythonPackage rec { hash = "sha256-OKxPPKcVVrEVUGR8Zaphn7ur9HOuqQKa9gnMo2RQQME="; }; + postPatch = '' + substituteInPlace pyproject.toml \ + --replace "cython==" "cython>=" + ''; + nativeBuildInputs = [ astropy-extension-helpers cython + numpy + oldest-supported-numpy setuptools-scm ];