mirror of
https://github.com/vale981/poetry2nix
synced 2025-03-04 16:51:40 -05:00
Merge pull request #723 from Smaug123/more-overrides
Overrides: ftfy, shortuuid, contourpy, omegaconf, opencv-python-headless
This commit is contained in:
commit
420107e7e7
2 changed files with 24 additions and 3 deletions
|
@ -442,6 +442,9 @@
|
||||||
"frozenlist": [
|
"frozenlist": [
|
||||||
"cython"
|
"cython"
|
||||||
],
|
],
|
||||||
|
"ftfy": [
|
||||||
|
"poetry"
|
||||||
|
],
|
||||||
"funcparserlib": [
|
"funcparserlib": [
|
||||||
"poetry-core"
|
"poetry-core"
|
||||||
],
|
],
|
||||||
|
@ -1562,6 +1565,9 @@
|
||||||
"shexjsg": [
|
"shexjsg": [
|
||||||
"pbr"
|
"pbr"
|
||||||
],
|
],
|
||||||
|
"shortuuid": [
|
||||||
|
"poetry"
|
||||||
|
],
|
||||||
"simplisafe-python": [
|
"simplisafe-python": [
|
||||||
"poetry-core"
|
"poetry-core"
|
||||||
],
|
],
|
||||||
|
|
|
@ -277,6 +277,12 @@ lib.composeManyExtensions [
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
contourpy = super.contourpy.overridePythonAttrs (
|
||||||
|
old: {
|
||||||
|
buildInputs = (old.buildInputs or [ ]) ++ [ self.pybind11 ];
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
cloudflare = super.cloudflare.overridePythonAttrs (
|
cloudflare = super.cloudflare.overridePythonAttrs (
|
||||||
old: {
|
old: {
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
@ -1235,6 +1241,12 @@ lib.composeManyExtensions [
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
omegaconf = super.omegaconf.overridePythonAttrs (
|
||||||
|
old: {
|
||||||
|
nativeBuildInputs = (old.nativeBuildInputs or [ ]) ++ [ pkgs.jdk ];
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
open3d = super.open3d.overridePythonAttrs (old: {
|
open3d = super.open3d.overridePythonAttrs (old: {
|
||||||
buildInputs = (old.buildInputs or [ ]) ++ (with pkgs; [
|
buildInputs = (old.buildInputs or [ ]) ++ (with pkgs; [
|
||||||
udev
|
udev
|
||||||
|
@ -1243,13 +1255,16 @@ lib.composeManyExtensions [
|
||||||
autoPatchelfIgnoreMissingDeps = true;
|
autoPatchelfIgnoreMissingDeps = true;
|
||||||
});
|
});
|
||||||
|
|
||||||
opencv-python = super.opencv-python.overridePythonAttrs (
|
_opencv-python-override =
|
||||||
old: {
|
old: {
|
||||||
nativeBuildInputs = [ pkgs.cmake ] ++ old.nativeBuildInputs;
|
nativeBuildInputs = [ pkgs.cmake ] ++ old.nativeBuildInputs;
|
||||||
buildInputs = [ self.scikit-build ] ++ (old.buildInputs or [ ]);
|
buildInputs = [ self.scikit-build ] ++ (old.buildInputs or [ ]);
|
||||||
dontUseCmakeConfigure = true;
|
dontUseCmakeConfigure = true;
|
||||||
}
|
};
|
||||||
);
|
|
||||||
|
opencv-python = super.opencv-python.overridePythonAttrs self._opencv-python-override;
|
||||||
|
|
||||||
|
opencv-python-headless = super.opencv-python.overridePythonAttrs self._opencv-python-override;
|
||||||
|
|
||||||
opencv-contrib-python = super.opencv-contrib-python.overridePythonAttrs (
|
opencv-contrib-python = super.opencv-contrib-python.overridePythonAttrs (
|
||||||
old: {
|
old: {
|
||||||
|
|
Loading…
Add table
Reference in a new issue