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