python.pkgs.spacy: clean up propagatedBuildInputs
This commit is contained in:
parent
8dd4e0711f
commit
dc35d7bc7c
@ -1,11 +1,11 @@
|
|||||||
{ stdenv
|
{ lib
|
||||||
, pkgs
|
, pkgs
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, python
|
, python
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
|
, pythonOlder
|
||||||
, html5lib
|
, html5lib
|
||||||
, pytest
|
, pytest
|
||||||
, cython
|
|
||||||
, preshed
|
, preshed
|
||||||
, ftfy
|
, ftfy
|
||||||
, numpy
|
, numpy
|
||||||
@ -16,8 +16,11 @@
|
|||||||
, dill
|
, dill
|
||||||
, requests
|
, requests
|
||||||
, thinc
|
, thinc
|
||||||
, pip
|
|
||||||
, regex
|
, regex
|
||||||
|
, cymem
|
||||||
|
, pathlib
|
||||||
|
, msgpack-python
|
||||||
|
, msgpack-numpy
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
@ -40,20 +43,22 @@ buildPythonPackage rec {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
cython
|
|
||||||
dill
|
|
||||||
html5lib
|
|
||||||
murmurhash
|
|
||||||
numpy
|
numpy
|
||||||
plac
|
murmurhash
|
||||||
|
cymem
|
||||||
preshed
|
preshed
|
||||||
regex
|
|
||||||
requests
|
|
||||||
six
|
|
||||||
thinc
|
thinc
|
||||||
|
plac
|
||||||
|
six
|
||||||
|
html5lib
|
||||||
ujson
|
ujson
|
||||||
|
dill
|
||||||
|
requests
|
||||||
|
regex
|
||||||
ftfy
|
ftfy
|
||||||
];
|
msgpack-python
|
||||||
|
msgpack-numpy
|
||||||
|
] ++ lib.optional (pythonOlder "3.4") pathlib;
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
pytest
|
pytest
|
||||||
@ -64,7 +69,7 @@ buildPythonPackage rec {
|
|||||||
# ${python.interpreter} -m pytest spacy/tests --vectors --models --slow
|
# ${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";
|
description = "Industrial-strength Natural Language Processing (NLP) with Python and Cython";
|
||||||
homepage = https://github.com/explosion/spaCy;
|
homepage = https://github.com/explosion/spaCy;
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
|
Loading…
Reference in New Issue
Block a user