lol

Merge pull request #298711 from fabaff/llama-index-cli-bump

python311Packages.llama-index-cli: 0.10.20 -> 0.1.11

authored by

Fabian Affolter and committed by
GitHub
11669455 0b7a51bc

+23 -7
+23 -7
pkgs/development/python-modules/llama-index-cli/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 - , fetchFromGitHub 3 + , fetchPypi 4 4 , llama-index-core 5 5 , llama-index-embeddings-openai 6 6 , llama-index-llms-openai 7 7 , llama-index-vector-stores-chroma 8 8 , poetry-core 9 + , pythonOlder 9 10 }: 10 11 11 12 buildPythonPackage rec { 12 13 pname = "llama-index-cli"; 13 - 14 - inherit (llama-index-core) version src meta; 15 - 14 + version = "0.1.11"; 16 15 pyproject = true; 17 16 18 - sourceRoot = "${src.name}/${pname}"; 17 + disabled = pythonOlder "3.8"; 19 18 20 - nativeBuildInputs = [ 19 + src = fetchPypi { 20 + pname = "llama_index_cli"; 21 + inherit version; 22 + hash = "sha256-XecH4SWqh31wxh2nDMRP6nKp9623f0E7Ufc7He/911A="; 23 + }; 24 + 25 + build-system = [ 21 26 poetry-core 22 27 ]; 23 28 24 - propagatedBuildInputs = [ 29 + dependencies = [ 25 30 llama-index-core 26 31 llama-index-embeddings-openai 27 32 llama-index-llms-openai 28 33 llama-index-vector-stores-chroma 29 34 ]; 30 35 36 + # Tests are only available in the mono repo 37 + doCheck = false; 38 + 31 39 pythonImportsCheck = [ 32 40 "llama_index.cli" 33 41 ]; 42 + 43 + meta = with lib; { 44 + description = "LlamaIndex CLI"; 45 + homepage = "https://github.com/run-llama/llama_index/tree/main/llama-index-cli"; 46 + license = licenses.mit; 47 + maintainers = with maintainers; [ fab ]; 48 + }; 49 + 34 50 }