1{ lib 2, buildPythonPackage 3, fetchPypi 4, numpy 5, razdel 6, gensim 7, pytestCheckHook 8}: 9 10buildPythonPackage rec { 11 pname = "navec"; 12 version = "0.10.0"; 13 format = "setuptools"; 14 15 src = fetchPypi { 16 inherit pname version; 17 hash = "sha256-TyNHSxwnmvbGBfhOeHPofEfKWLDFOKP50w2QxgnJ/SE="; 18 }; 19 20 propagatedBuildInputs = [ numpy razdel ]; 21 nativeCheckInputs = [ pytestCheckHook gensim ]; 22 # TODO: remove when gensim usage will be fixed in `navec`. 23 disabledTests = [ "test_gensim" ]; 24 pythonImportCheck = [ "navec" ]; 25 26 meta = with lib; { 27 description = "Compact high quality word embeddings for Russian language"; 28 homepage = "https://github.com/natasha/navec"; 29 license = licenses.mit; 30 maintainers = with maintainers; [ npatsakula ]; 31 }; 32}