at 18.03-beta 1.0 kB view raw
1{ stdenv 2, pkgs 3, buildPythonPackage 4, python 5, fetchPypi 6, fetchFromGitHub 7, pytest 8, cython 9, cymem 10, preshed 11, pathlib2 12, numpy 13, murmurhash 14, plac 15, six 16, ujson 17, dill 18, requests 19, ftfy 20, thinc 21, pip 22, regex 23}: 24 25buildPythonPackage rec { 26 pname = "spacy"; 27 version = "1.8.2"; 28 29 src = fetchFromGitHub { 30 owner = "explosion"; 31 repo = "spaCy"; 32 rev = "v${version}"; 33 sha256 = "0v3bmmar31a6968y4wl0lmgnc3829l2mnwd8s959m4pqw1y1w648"; 34 }; 35 36 propagatedBuildInputs = [ 37 cython 38 cymem 39 pathlib2 40 preshed 41 numpy 42 murmurhash 43 plac 44 six 45 ujson 46 dill 47 requests 48 regex 49 ftfy 50 thinc 51 pytest 52 pip 53 ]; 54 55 doCheck = false; 56 # checkPhase = '' 57 # ${python.interpreter} -m pytest spacy/tests --vectors --models --slow 58 # ''; 59 60 meta = with stdenv.lib; { 61 description = "Industrial-strength Natural Language Processing (NLP) with Python and Cython"; 62 homepage = https://github.com/explosion/spaCy; 63 license = licenses.mit; 64 maintainers = with maintainers; [ sdll ]; 65 }; 66}