1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 poetry-core, 6 pythonOlder, 7 aiohttp, 8 dataclasses-json, 9 langchain-core, 10 langsmith, 11 numpy, 12 pyyaml, 13 requests, 14 sqlalchemy, 15 tenacity, 16 typer, 17}: 18 19buildPythonPackage rec { 20 pname = "langchain-community"; 21 version = "0.0.38"; 22 pyproject = true; 23 24 disabled = pythonOlder "3.8"; 25 26 src = fetchPypi { 27 pname = "langchain_community"; 28 inherit version; 29 hash = "sha256-En/Et1vGe2L+gnxmwC5xWnMP74/mm9ICPUZrqwa1gQ0="; 30 }; 31 32 build-system = [ poetry-core ]; 33 34 dependencies = [ 35 aiohttp 36 dataclasses-json 37 langchain-core 38 langsmith 39 numpy 40 pyyaml 41 requests 42 sqlalchemy 43 tenacity 44 ]; 45 46 passthru.optional-dependencies = { 47 cli = [ typer ]; 48 }; 49 50 pythonImportsCheck = [ "langchain_community" ]; 51 52 # PyPI source does not have tests 53 doCheck = false; 54 55 meta = with lib; { 56 description = "Community contributed LangChain integrations"; 57 homepage = "https://github.com/langchain-ai/langchain/tree/master/libs/community"; 58 license = licenses.mit; 59 maintainers = with maintainers; [ natsukium ]; 60 }; 61}