python3Packages.thinc: fix relax dependencies

main
Jonathan Ringer 2 years ago committed by Jonathan Ringer
parent bb89d8d9ee
commit 36be2dd240
  1. 5
      pkgs/development/python-modules/thinc/default.nix

@ -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 [

Loading…
Cancel
Save