pythonPackages.spacy: 2.0.12 -> 2.0.16

This commit is contained in:
Daniël de Kok 2018-10-20 12:18:42 +02:00
parent b505418a70
commit b932a35c08

View File

@ -23,22 +23,19 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "spacy"; pname = "spacy";
version = "2.0.12"; version = "2.0.16";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "b220ebee412c19613c26b2c1870b60473834bd686cec49553ce5f184164d3359"; sha256 = "1ghgbv819ff4777904p1kzayq1dj34i7853anvg859sak59r7pj1";
}; };
prePatch = '' prePatch = ''
substituteInPlace setup.py \ substituteInPlace setup.py \
--replace "html5lib==" "html5lib>=" \
--replace "regex==" "regex>=" \ --replace "regex==" "regex>=" \
--replace "ftfy==" "ftfy>=" \ --replace "plac<1.0.0,>=0.9.6" "plac>=0.9.6" \
--replace "msgpack-python==" "msgpack-python>=" \ --replace "thinc>=6.12.0,<6.13.0" "thinc>=6.12.0" \
--replace "msgpack-numpy==" "msgpack-numpy>=" \ --replace "wheel>=0.32.0,<0.33.0" "wheel>=0.31.0"
--replace "thinc>=6.10.3,<6.11.0" "thinc>=6.10.3" \
--replace "plac<1.0.0,>=0.9.6" "plac>=0.9.6"
''; '';
propagatedBuildInputs = [ propagatedBuildInputs = [