Merge pull request #250215 from tjni/astropy

python3.pkgs.astropy: fix build dependencies
This commit is contained in:
OTABI Tomoya
2023-08-22 14:06:47 +09:00
committed by GitHub

View File

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