blob: 2516ce1a1ab58efacfcc482e805400508d92e828 (
plain)
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
38
39
40
|
{
lib,
buildPythonPackage,
fetchPypi,
numpy,
razdel,
gensim,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "navec";
version = "0.10.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-TyNHSxwnmvbGBfhOeHPofEfKWLDFOKP50w2QxgnJ/SE=";
};
propagatedBuildInputs = [
numpy
razdel
];
nativeCheckInputs = [
pytestCheckHook
gensim
];
# TODO: remove when gensim usage will be fixed in `navec`.
disabledTests = [ "test_gensim" ];
pythonImportsCheck = [ "navec" ];
meta = {
description = "Compact high quality word embeddings for Russian language";
mainProgram = "navec-train";
homepage = "https://github.com/natasha/navec";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ npatsakula ];
};
}
|