1{ stdenv 2, buildPythonPackage 3, isPy27 4, fetchPypi 5, cachetools 6, cld2-cffi 7, cytoolz 8, ftfy 9, ijson 10, matplotlib 11, networkx 12, numpy 13, pyemd 14, pyphen 15, python-Levenshtein 16, requests 17, scikitlearn 18, scipy 19, spacy 20, tqdm 21, unidecode 22}: 23 24buildPythonPackage rec { 25 pname = "textacy"; 26 version = "0.6.2"; 27 28 src = fetchPypi { 29 inherit pname version; 30 sha256 = "6019f32719c0661f41fa93c2fdd9714504d443119bf4f6426ee690bdda90835b"; 31 }; 32 33 disabled = isPy27; # 2.7 requires backports.csv 34 35 propagatedBuildInputs = [ 36 cachetools 37 cld2-cffi 38 cytoolz 39 ftfy 40 ijson 41 matplotlib 42 networkx 43 numpy 44 pyemd 45 pyphen 46 python-Levenshtein 47 requests 48 scikitlearn 49 scipy 50 spacy 51 tqdm 52 unidecode 53 ]; 54 55 doCheck = false; # tests want to download data files 56 57 meta = with stdenv.lib; { 58 description = "Higher-level text processing, built on spaCy"; 59 homepage = "http://textacy.readthedocs.io/"; 60 license = licenses.asl20; 61 maintainers = with maintainers; [ rvl ]; 62 }; 63}