Loading pkgs/development/python-modules/cltk/default.nix 0 → 100644 +65 −0 Original line number Diff line number Diff line { buildPythonPackage, lib, fetchPypi, gitpython, gensim, tqdm, torch, stringcase, stanza, spacy, scipy, scikit-learn, requests, rapidfuzz, pyyaml, nltk, boltons, poetry-core, greek-accentuation, }: buildPythonPackage rec { pname = "cltk"; format = "pyproject"; version = "1.3.0"; src = fetchPypi { inherit pname version; hash = "sha256-jAxvToUIo333HSVQDYVyUBY3YP+m1RnlNGelcvktp6s="; }; postPatch = '' substituteInPlace pyproject.toml \ --replace-fail "poetry>=1.1.13" poetry-core \ --replace-fail "poetry.masonry.api" "poetry.core.masonry.api" \ --replace-fail 'scipy = "<1.13.0"' 'scipy = "^1"' \ --replace-fail 'boltons = "^21.0.0"' 'boltons = "^24.0.0"' ''; propagatedBuildInputs = [ gitpython gensim boltons greek-accentuation pyyaml nltk rapidfuzz requests scikit-learn scipy spacy stanza stringcase torch tqdm ]; nativeBuildInputs = [ poetry-core ]; meta = with lib; { description = "Natural language processing (NLP) framework for pre-modern languages"; homepage = "https://cltk.org"; license = licenses.mit; maintainers = with maintainers; [ kmein ]; }; } pkgs/development/python-modules/greek-accentuation/default.nix 0 → 100644 +19 −0 Original line number Diff line number Diff line { buildPythonPackage, lib, fetchPypi, }: buildPythonPackage rec { pname = "greek-accentuation"; version = "1.2.0"; src = fetchPypi { inherit pname version; hash = "sha256-l2HZXdqlLubvy2bWhhZVYGMpF0DXVKTDFehkcGF5xdk="; }; meta = with lib; { description = "Python 3 library for accenting (and analyzing the accentuation of) Ancient Greek words"; homepage = "https://github.com/jtauber/greek-accentuation"; license = licenses.mit; maintainers = with maintainers; [ kmein ]; }; } pkgs/top-level/python-packages.nix +4 −0 Original line number Diff line number Diff line Loading @@ -2386,6 +2386,8 @@ self: super: with self; { cloup = callPackage ../development/python-modules/cloup { }; cltk = callPackage ../development/python-modules/cltk { }; clustershell = callPackage ../development/python-modules/clustershell { }; cma = callPackage ../development/python-modules/cma { }; Loading Loading @@ -5389,6 +5391,8 @@ self: super: with self; { greeclimate = callPackage ../development/python-modules/greeclimate { }; greek-accentuation = callPackage ../development/python-modules/greek-accentuation { }; green = callPackage ../development/python-modules/green { }; greeneye-monitor = callPackage ../development/python-modules/greeneye-monitor { }; Loading Loading
pkgs/development/python-modules/cltk/default.nix 0 → 100644 +65 −0 Original line number Diff line number Diff line { buildPythonPackage, lib, fetchPypi, gitpython, gensim, tqdm, torch, stringcase, stanza, spacy, scipy, scikit-learn, requests, rapidfuzz, pyyaml, nltk, boltons, poetry-core, greek-accentuation, }: buildPythonPackage rec { pname = "cltk"; format = "pyproject"; version = "1.3.0"; src = fetchPypi { inherit pname version; hash = "sha256-jAxvToUIo333HSVQDYVyUBY3YP+m1RnlNGelcvktp6s="; }; postPatch = '' substituteInPlace pyproject.toml \ --replace-fail "poetry>=1.1.13" poetry-core \ --replace-fail "poetry.masonry.api" "poetry.core.masonry.api" \ --replace-fail 'scipy = "<1.13.0"' 'scipy = "^1"' \ --replace-fail 'boltons = "^21.0.0"' 'boltons = "^24.0.0"' ''; propagatedBuildInputs = [ gitpython gensim boltons greek-accentuation pyyaml nltk rapidfuzz requests scikit-learn scipy spacy stanza stringcase torch tqdm ]; nativeBuildInputs = [ poetry-core ]; meta = with lib; { description = "Natural language processing (NLP) framework for pre-modern languages"; homepage = "https://cltk.org"; license = licenses.mit; maintainers = with maintainers; [ kmein ]; }; }
pkgs/development/python-modules/greek-accentuation/default.nix 0 → 100644 +19 −0 Original line number Diff line number Diff line { buildPythonPackage, lib, fetchPypi, }: buildPythonPackage rec { pname = "greek-accentuation"; version = "1.2.0"; src = fetchPypi { inherit pname version; hash = "sha256-l2HZXdqlLubvy2bWhhZVYGMpF0DXVKTDFehkcGF5xdk="; }; meta = with lib; { description = "Python 3 library for accenting (and analyzing the accentuation of) Ancient Greek words"; homepage = "https://github.com/jtauber/greek-accentuation"; license = licenses.mit; maintainers = with maintainers; [ kmein ]; }; }
pkgs/top-level/python-packages.nix +4 −0 Original line number Diff line number Diff line Loading @@ -2386,6 +2386,8 @@ self: super: with self; { cloup = callPackage ../development/python-modules/cloup { }; cltk = callPackage ../development/python-modules/cltk { }; clustershell = callPackage ../development/python-modules/clustershell { }; cma = callPackage ../development/python-modules/cma { }; Loading Loading @@ -5389,6 +5391,8 @@ self: super: with self; { greeclimate = callPackage ../development/python-modules/greeclimate { }; greek-accentuation = callPackage ../development/python-modules/greek-accentuation { }; green = callPackage ../development/python-modules/green { }; greeneye-monitor = callPackage ../development/python-modules/greeneye-monitor { }; Loading