depot/third_party/nixpkgs/pkgs/development/python-modules/pymorphy2/default.nix
Default email 5ca88bfbb9 Project import generated by Copybara.
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
2024-07-31 10:19:44 +00:00

38 lines
717 B
Nix

{
lib,
fetchPypi,
buildPythonPackage,
isPy3k,
dawg-python,
docopt,
pymorphy2-dicts-ru,
}:
buildPythonPackage rec {
pname = "pymorphy2";
version = "0.9.1";
format = "setuptools";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
hash = "sha256-hsRHFX3uLrI0HvvkU44SgadUdWuhqjLad6iWFMWLVgw=";
};
propagatedBuildInputs = [
dawg-python
docopt
pymorphy2-dicts-ru
];
pythonImportsCheck = [ "pymorphy2" ];
meta = with lib; {
description = "Morphological analyzer/inflection engine for Russian and Ukrainian";
mainProgram = "pymorphy";
homepage = "https://github.com/kmike/pymorphy2";
license = licenses.mit;
maintainers = [ ];
};
}