2021-05-20 23:08:51 +00:00
|
|
|
{ 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;
|
2021-09-18 10:52:07 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2021-05-20 23:08:51 +00:00
|
|
|
};
|
|
|
|
}
|