python311Packages.langchain-community: init at 0.0.12
This commit is contained in:
@@ -0,0 +1,64 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, poetry-core
|
||||
, pythonOlder
|
||||
, aiohttp
|
||||
, dataclasses-json
|
||||
, langchain-core
|
||||
, langsmith
|
||||
, numpy
|
||||
, pyyaml
|
||||
, requests
|
||||
, sqlalchemy
|
||||
, tenacity
|
||||
, typer
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "langchain-community";
|
||||
version = "0.0.12";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "langchain_community";
|
||||
inherit version;
|
||||
hash = "sha256-fP42xSsfuGwQldTewM9Gahx1KnRGEE6LOc8PcFEqSFE=";
|
||||
};
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
||||
@@ -6182,6 +6182,8 @@ self: super: with self; {
|
||||
|
||||
langchain = callPackage ../development/python-modules/langchain { };
|
||||
|
||||
langchain-community = callPackage ../development/python-modules/langchain-community { };
|
||||
|
||||
langchain-core = callPackage ../development/python-modules/langchain-core { };
|
||||
|
||||
langcodes = callPackage ../development/python-modules/langcodes { };
|
||||
|
||||
Reference in New Issue
Block a user