python311Packages.llama-index-readers-s3: init at 0.1.4

This commit is contained in:
Fabian Affolter 2024-03-26 09:08:10 +01:00
parent ebf712b1b1
commit 98f3dcf340
2 changed files with 49 additions and 0 deletions

View File

@ -0,0 +1,47 @@
{ lib
, buildPythonPackage
, fetchPypi
, llama-index-core
, llama-index-readers-file
, poetry-core
, pythonOlder
, s3fs
}:
buildPythonPackage rec {
pname = "llama-index-readers-s3";
version = "0.1.4";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi {
pname = "llama_index_readers_s3";
inherit version;
hash = "sha256-FjRIo0sJGJikX4T4Esew3pBxEp7E3kK7Ds2uXDJqMzQ=";
};
nativeBuildInputs = [
poetry-core
];
propagatedBuildInputs = [
llama-index-core
llama-index-readers-file
s3fs
];
# Tests are only available in the mono repo
doCheck = false;
pythonImportsCheck = [
"llama_index.readers.s3"
];
meta = with lib; {
description = "LlamaIndex Readers Integration for S3";
homepage = "https://github.com/run-llama/llama_index/tree/main/llama-index-integrations/readers/llama-index-readers-s3";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View File

@ -6788,6 +6788,8 @@ self: super: with self; {
llama-index-readers-llama-parse = callPackage ../development/python-modules/llama-index-readers-llama-parse { };
llama-index-readers-s3 = callPackage ../development/python-modules/llama-index-readers-s3 { };
llama-index-readers-weather = callPackage ../development/python-modules/llama-index-readers-weather { };
llama-index-vector-stores-chroma = callPackage ../development/python-modules/llama-index-vector-stores-chroma { };