nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 llama-index-core,
6 poetry-core,
7}:
8
9buildPythonPackage rec {
10 pname = "llama-index-legacy";
11 version = "0.9.48.post4";
12 pyproject = true;
13
14 src = fetchPypi {
15 pname = "llama_index_legacy";
16 inherit version;
17 hash = "sha256-+Kl2Tn4TSlK/715T0tYlYb/AH8CYdMUcwAHfb1MCrjA=";
18 };
19
20 pythonRelaxDeps = [ "tenacity" ];
21
22 build-system = [ poetry-core ];
23
24 dependencies = [ llama-index-core ];
25
26 # Tests are only available in the mono repo
27 doCheck = false;
28
29 meta = {
30 description = "LlamaIndex Readers Integration for files";
31 homepage = "https://github.com/run-llama/llama_index/tree/v0.9.48";
32 license = lib.licenses.mit;
33 maintainers = with lib.maintainers; [ fab ];
34 };
35}