mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
Merge pull request #325305 from natsukium/statsmodels/darwin
python312Packages.statsmodels: fix darwin build
This commit is contained in:
commit
e5dfb653d8
@ -39,6 +39,13 @@ buildPythonPackage rec {
|
|||||||
setuptools-scm
|
setuptools-scm
|
||||||
];
|
];
|
||||||
|
|
||||||
|
env = lib.optionalAttrs stdenv.cc.isClang {
|
||||||
|
NIX_CFLAGS_COMPILE = toString [
|
||||||
|
"-Wno-error=implicit-function-declaration"
|
||||||
|
"-Wno-error=int-conversion"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
dependencies = [
|
dependencies = [
|
||||||
numpy
|
numpy
|
||||||
packaging
|
packaging
|
||||||
@ -57,7 +64,5 @@ buildPythonPackage rec {
|
|||||||
homepage = "https://www.github.com/statsmodels/statsmodels";
|
homepage = "https://www.github.com/statsmodels/statsmodels";
|
||||||
changelog = "https://github.com/statsmodels/statsmodels/releases/tag/v${version}";
|
changelog = "https://github.com/statsmodels/statsmodels/releases/tag/v${version}";
|
||||||
license = licenses.bsd3;
|
license = licenses.bsd3;
|
||||||
# Fails at build time
|
|
||||||
broken = stdenv.isDarwin;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user