2024-01-25 14:12:00 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, poetry-core
|
|
|
|
, pythonOlder
|
|
|
|
, aiohttp
|
|
|
|
, dataclasses-json
|
|
|
|
, langchain-core
|
|
|
|
, langsmith
|
|
|
|
, numpy
|
|
|
|
, pyyaml
|
|
|
|
, requests
|
|
|
|
, sqlalchemy
|
|
|
|
, tenacity
|
|
|
|
, typer
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "langchain-community";
|
2024-02-07 01:22:34 +00:00
|
|
|
version = "0.0.16";
|
2024-01-25 14:12:00 +00:00
|
|
|
pyproject = true;
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.8";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
pname = "langchain_community";
|
|
|
|
inherit version;
|
2024-02-07 01:22:34 +00:00
|
|
|
hash = "sha256-wGUSqTAToG+6dnnNWhJU/4uSfN3S0fvgzERL97vfC4w=";
|
2024-01-25 14:12:00 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
poetry-core
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
aiohttp
|
|
|
|
dataclasses-json
|
|
|
|
langchain-core
|
|
|
|
langsmith
|
|
|
|
numpy
|
|
|
|
pyyaml
|
|
|
|
requests
|
|
|
|
sqlalchemy
|
|
|
|
tenacity
|
|
|
|
];
|
|
|
|
|
|
|
|
passthru.optional-dependencies = {
|
|
|
|
cli = [
|
|
|
|
typer
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "langchain_community" ];
|
|
|
|
|
|
|
|
# PyPI source does not have tests
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Community contributed LangChain integrations";
|
|
|
|
homepage = "https://github.com/langchain-ai/langchain/tree/master/libs/community";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ natsukium ];
|
|
|
|
};
|
|
|
|
}
|