python3Packages.spacy: add spacy_legacy dependency

This commit is contained in:
Matt Melling
2021-05-08 11:08:46 -07:00
committed by Jonathan Ringer
parent ff95da3ab5
commit 94698a5624
4 changed files with 32 additions and 1 deletions
@@ -22,7 +22,8 @@ buildPythonPackage rec {
propagatedBuildInputs = [ smart_open typer google-cloud-storage ];
postPatch = ''
substituteInPlace requirements.txt --replace "smart-open>=2.2.0,<4.0.0" "smart-open>=2.2.0"
substituteInPlace requirements.txt \
--replace "smart-open>=2.2.0,<4.0.0" "smart-open>=2.2.0"
'';
checkInputs = [ pytestCheckHook mock ];