depot/third_party/nixpkgs/pkgs/development/python-modules/yargy/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

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 ];
};
}