poetry: fix build on x86_64-darwin

The poetry-core patches don't apply to version 1.7.0.
The only dependency of poetry that requires them is deepdiff, so we
disable its tests for now.
This commit is contained in:
Robert Schütz 2023-09-09 11:40:02 -07:00
parent 364ab12942
commit cfd4aea3cc

View file

@ -10,6 +10,9 @@ let
poetry = self.callPackage ./unwrapped.nix { };
# version overrides required by poetry and its plugins
deepdiff = super.deepdiff.overridePythonAttrs (old: rec {
doCheck = false;
});
poetry-core = super.poetry-core.overridePythonAttrs (old: rec {
version = "1.7.0";
src = fetchFromGitHub {
@ -18,6 +21,7 @@ let
rev = version;
hash = "sha256-OfY2zc+5CgOrgbiPVnvMdT4h1S7Aek8S7iThl6azmsk=";
};
patches = [ ];
});
} // (plugins self);
};