25 lines
351 B
Nix
25 lines
351 B
Nix
|
{ lib
|
||
|
, buildPythonPackage
|
||
|
, fetchFromGitHub
|
||
|
, poetry-core
|
||
|
, llama-index-core
|
||
|
}:
|
||
|
|
||
|
buildPythonPackage rec {
|
||
|
pname = "llama-index-legacy";
|
||
|
|
||
|
inherit (llama-index-core) version src meta;
|
||
|
|
||
|
pyproject = true;
|
||
|
|
||
|
sourceRoot = "${src.name}/${pname}";
|
||
|
|
||
|
nativeBuildInputs = [
|
||
|
poetry-core
|
||
|
];
|
||
|
|
||
|
propagatedBuildInputs = [
|
||
|
llama-index-core
|
||
|
];
|
||
|
}
|