python311Packages.navec: init at 0.10.0
This commit is contained in:
parent
9e227c3bbd
commit
64c2435488
2 changed files with 34 additions and 0 deletions
32
pkgs/development/python-modules/navec/default.nix
Normal file
32
pkgs/development/python-modules/navec/default.nix
Normal file
|
@ -0,0 +1,32 @@
|
|||
{ 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" ];
|
||||
pythonImportCheck = [ "navec" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Compact high quality word embeddings for Russian language";
|
||||
homepage = "https://github.com/natasha/navec";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ npatsakula ];
|
||||
};
|
||||
}
|
|
@ -6991,6 +6991,8 @@ self: super: with self; {
|
|||
|
||||
nanoleaf = callPackage ../development/python-modules/nanoleaf { };
|
||||
|
||||
navec = callPackage ../development/python-modules/navec { };
|
||||
|
||||
nomadnet = callPackage ../development/python-modules/nomadnet { };
|
||||
|
||||
nox = callPackage ../development/python-modules/nox { };
|
||||
|
|
Loading…
Reference in a new issue