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

This commit is contained in:
Fabian Affolter 2024-02-26 09:41:15 +01:00
parent b1778d125a
commit 6a147367c8
2 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,34 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, llama-index-core
, poetry-core
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "llama-index-readers-json";
version = "0.1.2";
inherit (llama-index-core) src meta;
pyproject = true;
sourceRoot = "${src.name}/llama-index-integrations/readers/${pname}";
nativeBuildInputs = [
poetry-core
];
propagatedBuildInputs = [
llama-index-core
];
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"llama_index.readers.json"
];
}

View File

@ -6702,6 +6702,8 @@ self: super: with self; {
llama-index-readers-file = callPackage ../development/python-modules/llama-index-readers-file { };
llama-index-readers-json = callPackage ../development/python-modules/llama-index-readers-json { };
llama-index-readers-llama-parse = callPackage ../development/python-modules/llama-index-readers-llama-parse { };
llama-index-readers-weather = callPackage ../development/python-modules/llama-index-readers-weather { };