Loading pkgs/development/python-modules/slovnet/default.nix 0 → 100644 +35 −0 Original line number Diff line number Diff line { lib , buildPythonPackage , fetchPypi , numpy , razdel , navec , pytestCheckHook }: buildPythonPackage rec { pname = "slovnet"; version = "0.6.0"; format = "setuptools"; src = fetchPypi { inherit pname version; hash = "sha256-AtIle9ybnMHSQr007iyGHGSPcIPveJj+FGirzDge95k="; }; propagatedBuildInputs = [ numpy navec razdel ]; nativeCheckInputs = [ pytestCheckHook ]; pytestFlagsArray = [ "tests/" ]; disabledTestPaths = [ # Tries to download model binary artifacts: "tests/test_api.py" ]; pythonImportCheck = [ "slovnet" ]; meta = with lib; { description = "Deep-learning based NLP modeling for Russian language"; homepage = "https://github.com/natasha/slovnet"; license = licenses.mit; maintainers = with maintainers; [ npatsakula ]; }; } pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -11898,6 +11898,8 @@ self: super: with self; { slob = callPackage ../development/python-modules/slob { }; slovnet = callPackage ../development/python-modules/slovnet { }; slowapi = callPackage ../development/python-modules/slowapi { }; slugid = callPackage ../development/python-modules/slugid { }; Loading Loading
pkgs/development/python-modules/slovnet/default.nix 0 → 100644 +35 −0 Original line number Diff line number Diff line { lib , buildPythonPackage , fetchPypi , numpy , razdel , navec , pytestCheckHook }: buildPythonPackage rec { pname = "slovnet"; version = "0.6.0"; format = "setuptools"; src = fetchPypi { inherit pname version; hash = "sha256-AtIle9ybnMHSQr007iyGHGSPcIPveJj+FGirzDge95k="; }; propagatedBuildInputs = [ numpy navec razdel ]; nativeCheckInputs = [ pytestCheckHook ]; pytestFlagsArray = [ "tests/" ]; disabledTestPaths = [ # Tries to download model binary artifacts: "tests/test_api.py" ]; pythonImportCheck = [ "slovnet" ]; meta = with lib; { description = "Deep-learning based NLP modeling for Russian language"; homepage = "https://github.com/natasha/slovnet"; license = licenses.mit; maintainers = with maintainers; [ npatsakula ]; }; }
pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -11898,6 +11898,8 @@ self: super: with self; { slob = callPackage ../development/python-modules/slob { }; slovnet = callPackage ../development/python-modules/slovnet { }; slowapi = callPackage ../development/python-modules/slowapi { }; slugid = callPackage ../development/python-modules/slugid { }; Loading