mirror of
https://github.com/vale981/poetry2nix
synced 2025-03-04 08:41:42 -05:00
Merge pull request #786 from trepetti/exceptiongroup-flit_scm
overrides: build systems and fixes
This commit is contained in:
commit
15f6492ead
2 changed files with 67 additions and 2 deletions
|
@ -2778,6 +2778,9 @@
|
|||
"cmdline": [
|
||||
"setuptools"
|
||||
],
|
||||
"cmdstanpy": [
|
||||
"setuptools"
|
||||
],
|
||||
"cmigemo": [
|
||||
"setuptools"
|
||||
],
|
||||
|
@ -4566,6 +4569,7 @@
|
|||
],
|
||||
"exceptiongroup": [
|
||||
"flit-core",
|
||||
"flit-scm",
|
||||
"flitBuildHook",
|
||||
"setuptools"
|
||||
],
|
||||
|
@ -7255,7 +7259,14 @@
|
|||
"setuptools"
|
||||
],
|
||||
"jupyter-server": [
|
||||
"setuptools"
|
||||
{
|
||||
"buildSystem": "setuptools",
|
||||
"until": "1.21.0"
|
||||
},
|
||||
{
|
||||
"buildSystem": "jupyter-packaging",
|
||||
"from": "1.21.0"
|
||||
}
|
||||
],
|
||||
"jupyter-server-mathjax": [
|
||||
"jupyter-packaging",
|
||||
|
@ -7904,6 +7915,9 @@
|
|||
"luhn": [
|
||||
"setuptools"
|
||||
],
|
||||
"lunarcalendar": [
|
||||
"setuptools"
|
||||
],
|
||||
"lupa": [
|
||||
"cython",
|
||||
"setuptools"
|
||||
|
@ -9119,7 +9133,14 @@
|
|||
],
|
||||
"notebook-shim": [
|
||||
"jupyter-packaging",
|
||||
"setuptools"
|
||||
{
|
||||
"buildSystem": "setuptools",
|
||||
"until": "0.2.0"
|
||||
},
|
||||
{
|
||||
"buildSystem": "hatchling",
|
||||
"from": "0.2.0"
|
||||
}
|
||||
],
|
||||
"notedown": [
|
||||
"setuptools"
|
||||
|
@ -10304,6 +10325,9 @@
|
|||
"plyvel": [
|
||||
"setuptools"
|
||||
],
|
||||
"pmdarima": [
|
||||
"setuptools"
|
||||
],
|
||||
"pmsensor": [
|
||||
"setuptools"
|
||||
],
|
||||
|
@ -14979,6 +15003,9 @@
|
|||
"shamir-mnemonic": [
|
||||
"setuptools"
|
||||
],
|
||||
"shap": [
|
||||
"setuptools"
|
||||
],
|
||||
"shapely": [
|
||||
"cython",
|
||||
"setuptools"
|
||||
|
@ -15743,6 +15770,9 @@
|
|||
"statsd": [
|
||||
"setuptools"
|
||||
],
|
||||
"statsforecast": [
|
||||
"setuptools"
|
||||
],
|
||||
"statsmodels": [
|
||||
"cython",
|
||||
"setuptools"
|
||||
|
@ -16040,6 +16070,9 @@
|
|||
"taxi": [
|
||||
"setuptools"
|
||||
],
|
||||
"tbats": [
|
||||
"setuptools"
|
||||
],
|
||||
"tblib": [
|
||||
"setuptools"
|
||||
],
|
||||
|
|
|
@ -309,6 +309,18 @@ lib.composeManyExtensions [
|
|||
)
|
||||
);
|
||||
|
||||
cmdstanpy = super.cmdstanpy.overridePythonAttrs (
|
||||
old: {
|
||||
propagatedBuildInputs = (old.propagatedBuildInputs or [ ]) ++ [ pkgs.cmdstan ];
|
||||
patchPhase = ''
|
||||
substituteInPlace cmdstanpy/model.py \
|
||||
--replace 'cmd = [make]' \
|
||||
'cmd = ["${pkgs.cmdstan}/bin/stan"]'
|
||||
'';
|
||||
CMDSTAN = "${pkgs.cmdstan}";
|
||||
}
|
||||
);
|
||||
|
||||
contourpy = super.contourpy.overridePythonAttrs (
|
||||
old: {
|
||||
buildInputs = (old.buildInputs or [ ]) ++ [ self.pybind11 ];
|
||||
|
@ -420,6 +432,10 @@ lib.composeManyExtensions [
|
|||
'';
|
||||
});
|
||||
|
||||
darts = super.darts.override {
|
||||
preferWheel = true;
|
||||
};
|
||||
|
||||
datadog-lambda = super.datadog-lambda.overridePythonAttrs (old: {
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py --replace "setuptools==" "setuptools>="
|
||||
|
@ -1508,6 +1524,12 @@ lib.composeManyExtensions [
|
|||
propagatedBuildInputs = (old.propagatedBuildInputs or [ ]) ++ [ self.setuptools ];
|
||||
});
|
||||
|
||||
prophet = super.prophet.overridePythonAttrs (old: {
|
||||
propagatedBuildInputs = (old.propagatedBuildInputs or [ ]) ++ [ pkgs.cmdstan self.cmdstanpy ];
|
||||
PROPHET_REPACKAGE_CMDSTAN = "false";
|
||||
CMDSTAN = "${pkgs.cmdstan}";
|
||||
});
|
||||
|
||||
psycopg2 = super.psycopg2.overridePythonAttrs (
|
||||
old: {
|
||||
buildInputs = (old.buildInputs or [ ])
|
||||
|
@ -1782,6 +1804,16 @@ lib.composeManyExtensions [
|
|||
}
|
||||
);
|
||||
|
||||
pytorch-lightning = super.pytorch-lightning.override {
|
||||
unpackPhase = ''
|
||||
# $src remains a gzipped tarball otherwise.
|
||||
mkdir -p tmp
|
||||
tar xvf $src --directory=tmp
|
||||
mv tmp/pytorch-lightning*/* .
|
||||
rm -rf tmp
|
||||
'';
|
||||
};
|
||||
|
||||
pyqt5 =
|
||||
let
|
||||
qt5 = selectQt5 super.pyqt5.version;
|
||||
|
|
Loading…
Add table
Reference in a new issue