depot/third_party/nixpkgs/pkgs/development/python-modules/llama-index-legacy/default.nix

25 lines
351 B
Nix
Raw Normal View History

{ 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
];
}