mirror of
https://github.com/vale981/poetry2nix
synced 2025-03-06 01:31:39 -05:00
Merge pull request #1431 from Kiskae/patch-6
pip-build-hook: enable validation of build dependencies
This commit is contained in:
commit
53ba7961c8
2 changed files with 10 additions and 2 deletions
|
@ -25864,7 +25864,10 @@
|
||||||
],
|
],
|
||||||
"uri-template": [
|
"uri-template": [
|
||||||
"setuptools",
|
"setuptools",
|
||||||
"setuptools-scm"
|
{
|
||||||
|
"buildSystem": "setuptools-scm",
|
||||||
|
"from": "1.3.0"
|
||||||
|
}
|
||||||
],
|
],
|
||||||
"uritemplate": [
|
"uritemplate": [
|
||||||
"setuptools"
|
"setuptools"
|
||||||
|
|
|
@ -1993,7 +1993,12 @@ lib.composeManyExtensions [
|
||||||
|
|
||||||
# For OSX, we need to add a dependency on libcxx, which provides
|
# For OSX, we need to add a dependency on libcxx, which provides
|
||||||
# `complex.h` and other libraries that pandas depends on to build.
|
# `complex.h` and other libraries that pandas depends on to build.
|
||||||
postPatch = lib.optionalString (!(old.src.isWheel or false) && stdenv.isDarwin) ''
|
postPatch = ''
|
||||||
|
if [ -f pyproject.toml ]; then
|
||||||
|
substituteInPlace pyproject.toml \
|
||||||
|
--replace 'meson-python==0.13.1' 'meson-python'
|
||||||
|
fi
|
||||||
|
'' + lib.optionalString (!(old.src.isWheel or false) && stdenv.isDarwin) ''
|
||||||
if [ -f setup.py ]; then
|
if [ -f setup.py ]; then
|
||||||
cpp_sdk="${lib.getDev pkgs.libcxx}/include/c++/v1";
|
cpp_sdk="${lib.getDev pkgs.libcxx}/include/c++/v1";
|
||||||
echo "Adding $cpp_sdk to the setup.py common_include variable"
|
echo "Adding $cpp_sdk to the setup.py common_include variable"
|
||||||
|
|
Loading…
Add table
Reference in a new issue