blob: 57b843e54590fca1cd4140d737b18d0c4ea08fcc (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
{ 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 = with maintainers; [ ];
};
}
|