python311Packages.natasha: init at 1.6.0

This commit is contained in:
Patsakula Nikita 2023-09-08 14:20:23 +03:00
parent c828e04e2b
commit b87ea3b156
No known key found for this signature in database
GPG Key ID: 954300EE01218A33
2 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,35 @@
{ lib
, buildPythonPackage
, fetchPypi
, pymorphy2
, razdel
, navec
, slovnet
, yagry
, ipymarkup
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "natasha";
version = "1.6.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-Rgguazgq06a8B9jeRnfHD5VTR+Xrd+8OCsQUfaGLEq0=";
};
propagatedBuildInputs = [ pymorphy2 navec razdel slovnet yagry ipymarkup ];
nativeCheckInputs = [ pytestCheckHook ];
pytestFlagsArray = [ "tests/" ];
pythonImportCheck = [ "natasha" ];
meta = with lib; {
description = "NLP framework for Russian language";
homepage = "https://github.com/natasha/natasha";
license = licenses.mit;
maintainers = with maintainers; [ npatsakula ];
};
}

View File

@ -6993,6 +6993,8 @@ self: super: with self; {
navec = callPackage ../development/python-modules/navec { };
natasha = callPackage ../development/python-modules/natasha { };
nomadnet = callPackage ../development/python-modules/nomadnet { };
nox = callPackage ../development/python-modules/nox { };