about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/llama-index-indices-managed-llama-cloud/default.nix
blob: c778fb0e0512a790367c75402d702d8953ace5f9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{ lib
, buildPythonPackage
, fetchFromGitHub
, poetry-core
, llama-index-core
}:

buildPythonPackage rec {
  pname = "llama-index-indices-managed-llama-cloud";

  inherit (llama-index-core) version src meta;

  pyproject = true;

  sourceRoot = "${src.name}/llama-index-integrations/indices/${pname}";

  nativeBuildInputs = [
    poetry-core
  ];

  propagatedBuildInputs = [
    llama-index-core
  ];

  pythonImportsCheck = [
    "llama_index.indices.managed.llama_cloud"
  ];
}