python311Packages.yargy: init at 0.16.0

This commit is contained in:
Patsakula Nikita 2023-09-08 13:51:59 +03:00
parent 3ed64b7383
commit 9e227c3bbd
No known key found for this signature in database
GPG Key ID: 954300EE01218A33
2 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,29 @@
{ lib
, buildPythonPackage
, fetchPypi
, pymorphy2
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "yargy";
version = "0.16.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-yRfu+zKkDCPEa2yojWiScHLdAKuU6Q/V3GqwpitZtZM=";
};
propagatedBuildInputs = [ pymorphy2 ];
pythonImportCheck = [ "yargy" ];
nativeCheckInputs = [ pytestCheckHook ];
pytestFlagsArray = [ "tests" ];
meta = with lib; {
description = "Rule-based facts extraction for Russian language";
homepage = "https://github.com/natasha/yargu";
license = licenses.mit;
maintainers = with maintainers; [ npatsakula ];
};
}

View File

@ -14012,6 +14012,8 @@ self: super: with self; {
yarg = callPackage ../development/python-modules/yarg { };
yagry = callPackage ../development/python-modules/yargy { };
yark = callPackage ../development/python-modules/yark { };
yarl = callPackage ../development/python-modules/yarl { };