superfile: 1.1.6 -> 1.1.7 (#371308)
[NixPkgs.git] / pkgs / development / python-modules / llama-index-agent-openai / default.nix
blob65dc94f89abe92de965b7a102ac30fbe887af8e7
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   llama-index-core,
6   llama-index-llms-openai,
7   poetry-core,
8   pythonOlder,
9 }:
11 buildPythonPackage rec {
12   pname = "llama-index-agent-openai";
13   version = "0.4.0";
14   pyproject = true;
16   disabled = pythonOlder "3.8";
18   src = fetchPypi {
19     pname = "llama_index_agent_openai";
20     inherit version;
21     hash = "sha256-MdJnXb2ESJdW3QYqf/7TMLKr3KO3cV1RFnT1tQdeTdY=";
22   };
24   pythonRelaxDeps = [ "llama-index-llms-openai" ];
26   build-system = [
27     poetry-core
28   ];
30   dependencies = [
31     llama-index-core
32     llama-index-llms-openai
33   ];
35   pythonImportsCheck = [ "llama_index.agent.openai" ];
37   meta = with lib; {
38     description = "LlamaIndex Agent Integration for OpenAI";
39     homepage = "https://github.com/run-llama/llama_index/tree/main/llama-index-integrations/agent/llama-index-agent-openai";
40     license = licenses.mit;
41     maintainers = with maintainers; [ fab ];
42   };