python311Packages.llama-index-readers-database: init at 0.1.2

This commit is contained in:
Fabian Affolter 2024-03-26 10:16:20 +01:00
parent 30ad336f7b
commit 4b2838b4b9
2 changed files with 47 additions and 0 deletions

View File

@ -0,0 +1,45 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, fetchPypi
, llama-index-core
, poetry-core
, pythonOlder
}:
buildPythonPackage rec {
pname = "llama-index-readers-database";
version = "0.1.2";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi {
pname = "llama_index_readers_database";
inherit version;
hash = "sha256-9hbaUioGe8KVWX1O+Bwx0aOvJtVGb4lX/SZwYNJ/Xp0=";
};
build-system = [
poetry-core
];
dependencies = [
llama-index-core
];
# Tests are only available in the mono repo
doCheck = false;
pythonImportsCheck = [
"llama_index.readers.database"
];
meta = with lib; {
description = "LlamaIndex Readers Integration for Databases";
homepage = "https://github.com/run-llama/llama_index/tree/main/llama-index-integrations/readers/llama-index-readers-database";
changelog = "https://github.com/run-llama/llama_index/blob/main/llama-index-integrations/readers/llama-index-readers-database/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View File

@ -6782,6 +6782,8 @@ self: super: with self; {
llama-index-question-gen-openai = callPackage ../development/python-modules/llama-index-question-gen-openai { };
llama-index-readers-database = callPackage ../development/python-modules/llama-index-readers-database { };
llama-index-readers-file = callPackage ../development/python-modules/llama-index-readers-file { };
llama-index-readers-json = callPackage ../development/python-modules/llama-index-readers-json { };