diff --git a/pkgs/development/python-modules/deepsearch-glm/default.nix b/pkgs/development/python-modules/deepsearch-glm/default.nix deleted file mode 100644 index 734e301f697b..000000000000 --- a/pkgs/development/python-modules/deepsearch-glm/default.nix +++ /dev/null @@ -1,106 +0,0 @@ -{ - lib, - buildPythonPackage, - fetchFromGitHub, - cmake, - cxxopts, - deepsearch-toolkit, - docling-core, - fasttext, - fmt, - loguru, - matplotlib, - nlohmann_json, - pandas, - pcre2, - pkg-config, - poetry-core, - pybind11, - python-dotenv, - requests, - rich, - sentencepiece, - tabulate, - tqdm, - utf8cpp, - zlib, -}: - -buildPythonPackage rec { - pname = "deepsearch-glm"; - version = "1.0.0"; - pyproject = true; - - src = fetchFromGitHub { - owner = "DS4SD"; - repo = "deepsearch-glm"; - tag = "v${version}"; - hash = "sha256-3sJNkrx0tTm6RMYAwV8Aha7x8dZjf4tGdds8OScRff8="; - }; - - dontUseCmakeConfigure = true; - - nativeBuildInputs = [ - cmake - pkg-config - ]; - - build-system = [ - poetry-core - pybind11 - ]; - - env = { - NIX_CFLAGS_COMPILE = "-I${lib.getDev utf8cpp}/include/utf8cpp"; - USE_SYSTEM_DEPS = true; - }; - - optional-dependencies = { - docling = [ - docling-core - pandas - ]; - pyplot = [ - matplotlib - ]; - toolkit = [ - deepsearch-toolkit - python-dotenv - ]; - utils = [ - pandas - python-dotenv - requests - rich - tabulate - tqdm - ]; - }; - - buildInputs = [ - cxxopts - fasttext - fmt - loguru - nlohmann_json - pcre2 - sentencepiece - utf8cpp - zlib - ]; - - # Test suite insists on downloading models, data etc. from s3 bucket - doCheck = false; - - pythonImportsCheck = [ - "deepsearch_glm" - ]; - - meta = { - changelog = "https://github.com/DS4SD/deepsearch-glm/releases/tag/v${version}"; - description = "Create fast graph language models from converted PDF documents for knowledge extraction and Q&A"; - homepage = "https://github.com/DS4SD/deepsearch-glm"; - license = lib.licenses.mit; - maintainers = with lib.maintainers; [ booxter ]; - }; -} diff --git a/pkgs/top-level/python-aliases.nix b/pkgs/top-level/python-aliases.nix index e7a981d26262..01119ba1281d 100644 --- a/pkgs/top-level/python-aliases.nix +++ b/pkgs/top-level/python-aliases.nix @@ -137,6 +137,7 @@ mapAliases { datatable = throw "'datatable' has been removed due to lack of upstream maintenance"; # added 2026-02-02 dateutil = throw "'dateutil' has been renamed to/replaced by 'python-dateutil'"; # Converted to throw 2025-10-29 debian = throw "'debian' has been renamed to/replaced by 'python-debian'"; # Converted to throw 2025-10-29 + deepsearch-glm = throw "'deepsearch-glm' has been removed due to lack of upstream maintenance"; # Added 2025-03-04 dictpath = throw "'dictpath' has been renamed to/replaced by 'pathable'"; # Converted to throw 2025-10-29 diff_cover = throw "'diff_cover' has been renamed to/replaced by 'diff-cover'"; # Converted to throw 2025-10-29 digital-ocean = throw "'digital-ocean' has been renamed to/replaced by 'python-digitalocean'"; # Converted to throw 2025-10-29 diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index e8cc43456a6b..c607fec6cde6 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -3770,10 +3770,6 @@ self: super: with self; { deepmerge = callPackage ../development/python-modules/deepmerge { }; - deepsearch-glm = callPackage ../development/python-modules/deepsearch-glm { - inherit (pkgs) loguru sentencepiece fasttext; - }; - deepsearch-toolkit = callPackage ../development/python-modules/deepsearch-toolkit { }; deeptoolsintervals = callPackage ../development/python-modules/deeptoolsintervals { };