mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-16 00:54:40 +00:00
python311Packages.llama-index-readers-twitter: init at 0.1.3
This commit is contained in:
parent
bba1a41e54
commit
30ad336f7b
@ -0,0 +1,46 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, fetchPypi
|
||||
, llama-index-core
|
||||
, poetry-core
|
||||
, pythonOlder
|
||||
, tweepy
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "llama-index-readers-twitter";
|
||||
version = "0.1.3";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "llama_index_readers_twitter";
|
||||
inherit version;
|
||||
hash = "sha256-ZPwluiPdSkwMZ3JQy/HHhR7erYhUE9BWtplkfHk+TK8=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
poetry-core
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
llama-index-core
|
||||
tweepy
|
||||
];
|
||||
|
||||
# Tests are only available in the mono repo
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"llama_index.readers.twitter"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
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 = licenses.mit;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
@ -6790,6 +6790,8 @@ self: super: with self; {
|
||||
|
||||
llama-index-readers-s3 = callPackage ../development/python-modules/llama-index-readers-s3 { };
|
||||
|
||||
llama-index-readers-twitter = callPackage ../development/python-modules/llama-index-readers-twitter { };
|
||||
|
||||
llama-index-readers-txtai = callPackage ../development/python-modules/llama-index-readers-txtai { };
|
||||
|
||||
llama-index-readers-weather = callPackage ../development/python-modules/llama-index-readers-weather { };
|
||||
|
Loading…
Reference in New Issue
Block a user