python3Packages.thinc: fix relax dependencies

This commit is contained in:
Jonathan Ringer
2022-02-08 09:12:30 -08:00
committed by Jonathan Ringer
parent bb89d8d9ee
commit 36be2dd240
@@ -39,6 +39,11 @@ buildPythonPackage rec {
sha256 = "sha256-R2YqOuM9RFp3tup7dyREgFx7uomR8SLjUNr3Le3IFxo=";
};
postPatch = ''
substituteInPlace setup.cfg \
--replace "pydantic>=1.7.4,!=1.8,!=1.8.1,<1.9.0" "pydantic"
'';
buildInputs = [
cython
] ++ lib.optionals stdenv.isDarwin [