depot/third_party/nixpkgs/pkgs/development/python-modules/llama-parse/default.nix
Default email c7cb07f092 Project import generated by Copybara.
GitOrigin-RevId: 1536926ef5621b09bba54035ae2bb6d806d72ac8
2024-02-29 21:09:43 +01:00

40 lines
722 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, llama-index-core
, poetry-core
, pythonOlder
}:
buildPythonPackage rec {
pname = "llama-parse";
version = "0.3.4";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi {
pname = "llama_parse";
inherit version;
hash = "sha256-WjBWnDkKuQidrWbPKoyWf4wh13ZB3uwKkiZy304Wz6M=";
};
nativeBuildInputs = [
poetry-core
];
propagatedBuildInputs = [
llama-index-core
];
pythonImportsCheck = [
"llama_parse"
];
meta = with lib; {
description = "Parse files into RAG-Optimized formats";
homepage = "https://pypi.org/project/llama-parse/";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}