mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-11-15 12:15:56 +01:00
40 lines
948 B
Nix
40 lines
948 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
hatchling,
|
|
llama-index-core,
|
|
llama-index-llms-openai,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "llama-index-multi-modal-llms-openai";
|
|
version = "0.6.1";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
pname = "llama_index_multi_modal_llms_openai";
|
|
inherit version;
|
|
hash = "sha256-08taZAGV+qyLJ6T8o3gAY9UT9vbNM8T8U83/FqB6GPU=";
|
|
};
|
|
|
|
build-system = [ hatchling ];
|
|
|
|
dependencies = [
|
|
llama-index-core
|
|
llama-index-llms-openai
|
|
];
|
|
|
|
# Tests are only available in the mono repo
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "llama_index.multi_modal_llms.openai" ];
|
|
|
|
meta = with lib; {
|
|
description = "LlamaIndex Multi-Modal-Llms Integration for OpenAI";
|
|
homepage = "https://github.com/run-llama/llama_index/tree/main/llama-index-integrations/multi_modal_llms/llama-index-multi-modal-llms-openai";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|