1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 llama-index-core, 6 hatchling, 7 pythonOlder, 8 tweepy, 9}: 10 11buildPythonPackage rec { 12 pname = "llama-index-readers-twitter"; 13 version = "0.4.1"; 14 pyproject = true; 15 16 disabled = pythonOlder "3.8"; 17 18 src = fetchPypi { 19 pname = "llama_index_readers_twitter"; 20 inherit version; 21 hash = "sha256-e4zYwopM7b1WiNINHU3DhnY1DPo7nMcIM/BymS1j0qQ="; 22 }; 23 24 build-system = [ hatchling ]; 25 26 dependencies = [ 27 llama-index-core 28 tweepy 29 ]; 30 31 # Tests are only available in the mono repo 32 doCheck = false; 33 34 pythonImportsCheck = [ "llama_index.readers.twitter" ]; 35 36 meta = with lib; { 37 description = "LlamaIndex Readers Integration for Twitter"; 38 homepage = "https://github.com/run-llama/llama_index/tree/main/llama-index-integrations/readers/llama-index-readers-twitter"; 39 license = licenses.mit; 40 maintainers = with maintainers; [ fab ]; 41 }; 42}