diff options
author | Robert Schütz <robert.schuetz@stud.uni-heidelberg.de> | 2018-04-07 16:48:02 +0200 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2018-04-08 11:36:06 +0200 |
commit | dc35d7bc7c0e1b9bcf7c732287a504693e8c535b (patch) | |
tree | e36e435f5f3f290271eb7e27ea65e799d9c20f91 /pkgs/development/python-modules/spacy | |
parent | 8dd4e0711f7ea43d9b4264eeb225dd313359131e (diff) | |
download | nixlib-dc35d7bc7c0e1b9bcf7c732287a504693e8c535b.tar nixlib-dc35d7bc7c0e1b9bcf7c732287a504693e8c535b.tar.gz nixlib-dc35d7bc7c0e1b9bcf7c732287a504693e8c535b.tar.bz2 nixlib-dc35d7bc7c0e1b9bcf7c732287a504693e8c535b.tar.lz nixlib-dc35d7bc7c0e1b9bcf7c732287a504693e8c535b.tar.xz nixlib-dc35d7bc7c0e1b9bcf7c732287a504693e8c535b.tar.zst nixlib-dc35d7bc7c0e1b9bcf7c732287a504693e8c535b.zip |
python.pkgs.spacy: clean up propagatedBuildInputs
Diffstat (limited to 'pkgs/development/python-modules/spacy')
-rw-r--r-- | pkgs/development/python-modules/spacy/default.nix | 31 |
1 files changed, 18 insertions, 13 deletions
diff --git a/pkgs/development/python-modules/spacy/default.nix b/pkgs/development/python-modules/spacy/default.nix index 18fc6a745fe1..16c1841a3d62 100644 --- a/pkgs/development/python-modules/spacy/default.nix +++ b/pkgs/development/python-modules/spacy/default.nix @@ -1,11 +1,11 @@ -{ stdenv +{ lib , pkgs , buildPythonPackage , python , fetchPypi +, pythonOlder , html5lib , pytest -, cython , preshed , ftfy , numpy @@ -16,8 +16,11 @@ , dill , requests , thinc -, pip , regex +, cymem +, pathlib +, msgpack-python +, msgpack-numpy }: buildPythonPackage rec { @@ -40,20 +43,22 @@ buildPythonPackage rec { ''; propagatedBuildInputs = [ - cython - dill - html5lib - murmurhash numpy - plac + murmurhash + cymem preshed - regex - requests - six thinc + plac + six + html5lib ujson + dill + requests + regex ftfy - ]; + msgpack-python + msgpack-numpy + ] ++ lib.optional (pythonOlder "3.4") pathlib; checkInputs = [ pytest @@ -64,7 +69,7 @@ buildPythonPackage rec { # ${python.interpreter} -m pytest spacy/tests --vectors --models --slow # ''; - meta = with stdenv.lib; { + meta = with lib; { description = "Industrial-strength Natural Language Processing (NLP) with Python and Cython"; homepage = https://github.com/explosion/spaCy; license = licenses.mit; |