fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
30 lines
675 B
Nix
30 lines
675 B
Nix
{
|
|
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 ];
|
|
pythonImportsCheck = [ "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 ];
|
|
};
|
|
}
|