python3.pkgs.astropy: fix build dependencies

This commit is contained in:
Theodore Ni 2023-08-19 09:51:14 -07:00
parent ce3d6fe59b
commit 38fcb28228
No known key found for this signature in database
GPG key ID: 48B67583BDDD4474

View file

@ -5,10 +5,11 @@
# build time
, astropy-extension-helpers
, astropy-helpers
, cython
, jinja2
, oldest-supported-numpy
, setuptools-scm
, wheel
# runtime
, numpy
@ -32,14 +33,18 @@ buildPythonPackage {
hash = "sha256-9q4noHf46oSQPvp2x5C5hWFzQaAISw0hw5H3o/MyrCM=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
postPatch = ''
substituteInPlace pyproject.toml \
--replace 'cython==' 'cython>='
'';
nativeBuildInputs = [
astropy-extension-helpers
astropy-helpers
cython
jinja2
oldest-supported-numpy
setuptools-scm
wheel
];
propagatedBuildInputs = [