python310Packages.reproject: add missing build dependencies and relax constraints

This commit is contained in:
Theodore Ni
2023-08-26 03:20:07 +08:00
committed by Yt
parent 63ff0f7ca6
commit d3ecc8f3ef
@@ -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
];