This commit is contained in:
TheK0tYaRa 2026-02-15 15:54:38 +02:00
parent 5c81fe9469
commit 407b9b0f1d

View file

@ -15,10 +15,10 @@ buildPythonPackage rec {
owner = "HKUDS";
repo = "RAG-Anything";
rev = "v${version}";
hash = lib.fakeSha256; # replace with real hash after first build attempt
hash = "sha256-yepiLYzPD6UcJRbAbovg/BwFE8nh903o/tHypiHGKSw=";
};
disabled = pythonOlder "3.10"; # upstream pyproject: requires-python >= 3.10
disabled = pythonOlder "3.10";
format = "setuptools";
nativeBuildInputs = [
@ -26,22 +26,21 @@ buildPythonPackage rec {
wheel
];
# Upstream's requirements.txt in this tag is a single line; make it parseable for setup.py.
# postPatch = ''
# cat > requirements.txt <<'EOF'
# huggingface_hub
# lightrag-hku
# mineru[core]
# tqdm
# EOF
# '';
postPatch = ''
cat > requirements.txt <<'EOF'
huggingface_hub
lightrag-hku
mineru[core]
tqdm
EOF
'';
# Minimal/viable: dont run tests, dont force import checks (runtime deps may be heavy / not packaged yet).
doCheck = false;
meta = with lib; {
description = "RAGAnything: All-in-One RAG System";
homepage = "https://github.com/HKUDS/RAG-Anything";
license = licenses.mit;
maintainer = [ ];
};
}