depot/third_party/nixpkgs/pkgs/development/python-modules/yargy/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

29 lines
668 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 ];
};
}