anki-bin: 24.06.3 -> 24.11 (#360722)
[NixPkgs.git] / pkgs / development / python-modules / llama-index-multi-modal-llms-openai / default.nix
blob333780fc2f689213fdccd0436c41e8c938d0a3f6
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-multi-modal-llms-openai";
13   version = "0.2.3";
14   pyproject = true;
16   disabled = pythonOlder "3.8";
18   src = fetchPypi {
19     pname = "llama_index_multi_modal_llms_openai";
20     inherit version;
21     hash = "sha256-jrm38f85Vu8JeeIbyD5qiF5AmHtxmfGV5GUl0G465AI=";
22   };
24   build-system = [ poetry-core ];
26   dependencies = [
27     llama-index-core
28     llama-index-llms-openai
29   ];
31   # Tests are only available in the mono repo
32   doCheck = false;
34   pythonImportsCheck = [ "llama_index.multi_modal_llms.openai" ];
36   meta = with lib; {
37     description = "LlamaIndex Multi-Modal-Llms Integration for OpenAI";
38     homepage = "https://github.com/run-llama/llama_index/tree/main/llama-index-integrations/multi_modal_llms/llama-index-multi-modal-llms-openai";
39     license = licenses.mit;
40     maintainers = with maintainers; [ fab ];
41   };