3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/pymorphy2/default.nix
Daniël de Kok 28e8b89cec python3Packages.pymorphy2: init at 0.9.1
Morphological analyzer (POS tagger + inflection engine) for Russian
and Ukrainian.
2021-05-17 23:29:28 -07:00

36 lines
680 B
Nix

{ lib
, fetchPypi
, buildPythonPackage
, isPy3k
, dawg-python
, docopt
, pymorphy2-dicts-ru
}:
buildPythonPackage rec {
pname = "pymorphy2";
version = "0.9.1";
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";
homepage = "https://github.com/kmike/pymorphy2";
license = licenses.mit;
maintainers = with maintainers; [ danieldk ];
};
}