Merge pull request #298067 from fabaff/llama-index-readers-json-bump

python311Packages.llama-index-readers-json: 0.1.2 -> 0.1.5
This commit is contained in:
Fabian Affolter 2024-03-25 23:25:03 +01:00 committed by GitHub
commit 74668c9a00
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 21 additions and 12 deletions

View File

@ -1,34 +1,43 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, fetchPypi
, llama-index-core
, poetry-core
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "llama-index-readers-json";
version = "0.1.2";
inherit (llama-index-core) src meta;
version = "0.1.5";
pyproject = true;
sourceRoot = "${src.name}/llama-index-integrations/readers/${pname}";
disabled = pythonOlder "3.8";
nativeBuildInputs = [
src = fetchPypi {
pname = "llama_index_readers_json";
inherit version;
hash = "sha256-H+CG+2FtoOF/DUG6EuAWzY2xe1upLX0pakVutJTZFE0=";
};
build-system = [
poetry-core
];
propagatedBuildInputs = [
dependencies = [
llama-index-core
];
nativeCheckInputs = [
pytestCheckHook
];
# Tests are only available in the mono repo
doCheck = false;
pythonImportsCheck = [
"llama_index.readers.json"
];
meta = with lib; {
description = "LlamaIndex Readers Integration for Json";
homepage = "https://github.com/run-llama/llama_index/tree/main/llama-index-integrations/readers/llama-index-readers-json";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}