mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-25 17:55:21 +00:00
40 lines
863 B
Nix
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 ];
|
|
};
|
|
}
|