python3Packages.deepsearch-glm: drop

The package is broken by new nlohmann_json. Upstream hasn't seen a
single patch for more than a year. The package was added as a dependency
for docling, which no longer uses it.
This commit is contained in:
Ihar Hrachyshka
2026-03-04 21:04:11 -05:00
parent 66d9241e3d
commit 3eaaed0541
3 changed files with 1 additions and 110 deletions
@@ -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 ];
};
}
+1
View File
@@ -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
-4
View File
@@ -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 { };