Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 llama-index-core, 6 llama-index-readers-file, 7 poetry-core, 8 pythonOlder, 9 s3fs, 10}: 11 12buildPythonPackage rec { 13 pname = "llama-index-readers-s3"; 14 version = "0.4.0"; 15 pyproject = true; 16 17 disabled = pythonOlder "3.8"; 18 19 src = fetchPypi { 20 pname = "llama_index_readers_s3"; 21 inherit version; 22 hash = "sha256-oCXpLZyIrZKNNDg8hkEh5xxXEqz7B1hLjE5OUwEIozg="; 23 }; 24 25 build-system = [ poetry-core ]; 26 27 dependencies = [ 28 llama-index-core 29 llama-index-readers-file 30 s3fs 31 ]; 32 33 # Tests are only available in the mono repo 34 doCheck = false; 35 36 pythonImportsCheck = [ "llama_index.readers.s3" ]; 37 38 meta = with lib; { 39 description = "LlamaIndex Readers Integration for S3"; 40 homepage = "https://github.com/run-llama/llama_index/tree/main/llama-index-integrations/readers/llama-index-readers-s3"; 41 license = licenses.mit; 42 maintainers = with maintainers; [ fab ]; 43 }; 44}