1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

Merge pull request #46090 from danieldk/spacy

spacy: Fix build
This commit is contained in:
Jörg Thalheim 2018-09-05 10:34:51 +01:00 committed by GitHub
commit e9e28b1a02
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View file

@ -37,7 +37,8 @@ buildPythonPackage rec {
--replace "ftfy==" "ftfy>=" \
--replace "msgpack-python==" "msgpack-python>=" \
--replace "msgpack-numpy==" "msgpack-numpy>=" \
--replace "pathlib" "pathlib; python_version<\"3.4\""
--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 = [

View file

@ -35,7 +35,9 @@ buildPythonPackage rec {
postPatch = ''
substituteInPlace setup.py \
--replace "msgpack-python==" "msgpack-python>=" \
--replace "msgpack-numpy==" "msgpack-numpy>="
--replace "msgpack-numpy==" "msgpack-numpy>=" \
--replace "plac>=0.9,<1.0" "plac>=0.9" \
--replace "hypothesis>=2,<3" "hypothesis>=2"
'';
propagatedBuildInputs = [