Skip to content

Commit

Permalink
chore: add more darwin overrides
Browse files Browse the repository at this point in the history
  • Loading branch information
cpcloud committed Dec 16, 2024
1 parent cac66f6 commit 89d2c3c
Showing 1 changed file with 49 additions and 49 deletions.
98 changes: 49 additions & 49 deletions nix/pyproject-overrides.nix
Original file line number Diff line number Diff line change
Expand Up @@ -53,55 +53,55 @@ in
];
});

# scipy = prev.scipy.overrideAttrs (attrs: {
# nativeBuildInputs = attrs.nativeBuildInputs or [ ] ++ [
# final.meson-python
# final.pyproject-metadata
# final.cython
# final.packaging
# final.numpy
# final.pybind11
# final.pythran
# pkgs.pkg-config
# pkgs.ninja
# pkgs.meson
# pkgs.gfortran
# pkgs.cmake
# ];
# });
#
# scikit-learn = prev.scikit-learn.overrideAttrs (attrs: {
# nativeBuildInputs = attrs.nativeBuildInputs or [ ] ++ [
# final.meson-python
# final.pyproject-metadata
# final.cython
# final.packaging
# final.numpy
# final.scipy
# pkgs.ninja
# pkgs.meson
# pkgs.gfortran
# ];
# });
#
# pyproj = prev.pyproj.overrideAttrs (attrs: {
# nativeBuildInputs = attrs.nativeBuildInputs or [ ] ++ [
# final.setuptools
# final.cython
# pkgs.proj
# ];
# PROJ_DIR = "${lib.getBin pkgs.proj}";
# PROJ_INCDIR = "${lib.getDev pkgs.proj}";
# });
#
# pyogrio = prev.pyogrio.overrideAttrs (attrs: {
# nativeBuildInputs = attrs.nativeBuildInputs or [ ] ++ [
# final.setuptools
# final.versioneer
# final.cython
# pkgs.gdal
# ];
# });
scipy = prev.scipy.overrideAttrs (attrs: {
nativeBuildInputs = attrs.nativeBuildInputs or [ ] ++ [
final.meson-python
final.pyproject-metadata
final.cython
final.packaging
final.numpy
final.pybind11
final.pythran
pkgs.pkg-config
pkgs.ninja
pkgs.meson
pkgs.gfortran
pkgs.cmake
];
});

scikit-learn = prev.scikit-learn.overrideAttrs (attrs: {
nativeBuildInputs = attrs.nativeBuildInputs or [ ] ++ [
final.meson-python
final.pyproject-metadata
final.cython
final.packaging
final.numpy
final.scipy
pkgs.ninja
pkgs.meson
pkgs.gfortran
];
});

pyproj = prev.pyproj.overrideAttrs (attrs: {
nativeBuildInputs = attrs.nativeBuildInputs or [ ] ++ [
final.setuptools
final.cython
pkgs.proj
];
PROJ_DIR = "${lib.getBin pkgs.proj}";
PROJ_INCDIR = "${lib.getDev pkgs.proj}";
});

pyogrio = prev.pyogrio.overrideAttrs (attrs: {
nativeBuildInputs = attrs.nativeBuildInputs or [ ] ++ [
final.setuptools
final.versioneer
final.cython
pkgs.gdal
];
});
}) // lib.mapAttrs (name: spec: addBuildSystems prev.${name} spec) buildSystemOverrides // {
mysqlclient = prev.mysqlclient.overrideAttrs (attrs: {
nativeBuildInputs = attrs.nativeBuildInputs or [ ] ++ [ final.setuptools ];
Expand Down

0 comments on commit 89d2c3c

Please sign in to comment.