mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-18 03:04:32 +03:00
Merge pull request #250215 from tjni/astropy
python3.pkgs.astropy: fix build dependencies
This commit is contained in:
commit
1b60dfa6a7
@ -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 = [
|
||||
|
Loading…
Reference in New Issue
Block a user