builds
This commit is contained in:
parent
5c81fe9469
commit
407b9b0f1d
1 changed files with 11 additions and 12 deletions
|
|
@ -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: don’t run tests, don’t 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 = [ ];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue