depot/third_party/nixpkgs/pkgs/development/python-modules/llama-cloud/default.nix
Default email 555cd8a8f9 Project import generated by Copybara.
GitOrigin-RevId: 5633bcff0c6162b9e4b5f1264264611e950c8ec7
2024-10-09 18:51:18 +02:00

42 lines
737 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
httpx,
poetry-core,
pydantic,
pythonOlder,
}:
buildPythonPackage rec {
pname = "llama-cloud";
version = "0.1.2";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi {
pname = "llama_cloud";
inherit version;
hash = "sha256-fIB0fpp/MtS3OcLV1K3XNR+DbZLmM9asA/pAGJbTMJc=";
};
build-system = [ poetry-core ];
dependencies = [
httpx
pydantic
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [ "llama_cloud" ];
meta = with lib; {
description = "LlamaIndex Python Client";
homepage = "https://pypi.org/project/llama-cloud/";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}