Files
2026-04-06 20:36:44 +02:00

40 lines
863 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
llama-index-core,
hatchling,
tweepy,
}:
buildPythonPackage rec {
pname = "llama-index-readers-twitter";
version = "0.5.0";
pyproject = true;
src = fetchPypi {
pname = "llama_index_readers_twitter";
inherit version;
hash = "sha256-ws26RKK4xVT2388oFmRgtMq6VXwCc5kLOr7toEZFEyQ=";
};
build-system = [ hatchling ];
dependencies = [
llama-index-core
tweepy
];
# Tests are only available in the mono repo
doCheck = false;
pythonImportsCheck = [ "llama_index.readers.twitter" ];
meta = {
description = "LlamaIndex Readers Integration for Twitter";
homepage = "https://github.com/run-llama/llama_index/tree/main/llama-index-integrations/readers/llama-index-readers-twitter";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}