Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 llama-index-core, 6 poetry-core, 7 pythonOlder, 8}: 9 10buildPythonPackage rec { 11 pname = "llama-index-readers-txtai"; 12 version = "0.3.0"; 13 pyproject = true; 14 15 disabled = pythonOlder "3.8"; 16 17 src = fetchPypi { 18 pname = "llama_index_readers_txtai"; 19 inherit version; 20 hash = "sha256-N5FiwVZ+KWEQlcfVqHVcHJHzRb6Ct+iR2Dc+Wee7y+M="; 21 }; 22 23 build-system = [ poetry-core ]; 24 25 dependencies = [ llama-index-core ]; 26 27 # Tests are only available in the mono repo 28 doCheck = false; 29 30 pythonImportsCheck = [ "llama_index.readers.txtai" ]; 31 32 meta = with lib; { 33 description = "LlamaIndex Readers Integration for txtai"; 34 homepage = "https://github.com/run-llama/llama_index/tree/main/llama-index-integrations/readers/llama-index-readers-txtai"; 35 license = licenses.mit; 36 maintainers = with maintainers; [ fab ]; 37 }; 38}