python.pkgs.spacy: loosen version constraints

This commit is contained in:
Robert Schütz 2018-04-07 16:34:18 +02:00 committed by Frederik Rietdijk
parent c9330ca79b
commit 8dd4e0711f

View File

@ -30,21 +30,13 @@ buildPythonPackage rec {
}; };
prePatch = '' prePatch = ''
substituteInPlace setup.py --replace \ substituteInPlace setup.py \
"'html5lib==1.0b8'," \ --replace "html5lib==" "html5lib>=" \
"'html5lib'," --replace "regex==" "regex>=" \
--replace "ftfy==" "ftfy>=" \
substituteInPlace setup.py --replace \ --replace "msgpack-python==" "msgpack-python>=" \
"'regex==2017.4.5'," \ --replace "msgpack-numpy==" "msgpack-numpy>=" \
"'regex'," --replace "pathlib" "pathlib; python_version<\"3.4\""
substituteInPlace setup.py --replace \
"'ftfy==2017.4.5'," \
"'ftfy',"
substituteInPlace setup.py --replace \
"'pathlib'," \
"\"pathlib; python_version<'3.4'\","
''; '';
propagatedBuildInputs = [ propagatedBuildInputs = [