567e8dfd8e
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
40 lines
946 B
Nix
40 lines
946 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.2";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
pname = "llama_index_multi_modal_llms_openai";
|
|
inherit version;
|
|
hash = "sha256-4znltqFodiuXkTN51b6PqdZj/SF435/YmAH5P4fMnRk=";
|
|
};
|
|
|
|
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 = {
|
|
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 = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ fab ];
|
|
};
|
|
}
|