at master 825 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 numpy, 6 razdel, 7 navec, 8 pytestCheckHook, 9}: 10 11buildPythonPackage rec { 12 pname = "slovnet"; 13 version = "0.6.0"; 14 format = "setuptools"; 15 16 src = fetchPypi { 17 inherit pname version; 18 hash = "sha256-AtIle9ybnMHSQr007iyGHGSPcIPveJj+FGirzDge95k="; 19 }; 20 21 propagatedBuildInputs = [ 22 numpy 23 navec 24 razdel 25 ]; 26 nativeCheckInputs = [ pytestCheckHook ]; 27 enabledTestPaths = [ "tests/" ]; 28 disabledTestPaths = [ 29 # Tries to download model binary artifacts: 30 "tests/test_api.py" 31 ]; 32 pythonImportsCheck = [ "slovnet" ]; 33 34 meta = with lib; { 35 description = "Deep-learning based NLP modeling for Russian language"; 36 homepage = "https://github.com/natasha/slovnet"; 37 license = licenses.mit; 38 maintainers = with maintainers; [ npatsakula ]; 39 }; 40}