Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.7 kB · 93 lines
Nix
at llvm-cleanup
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394{ lib, buildPythonPackage, fetchFromGitHub, poetry-core, pythonOlder, aiohttp, dataclasses-json, duckdb-engine, langchain, langchain-core, langsmith, lark, numpy, pandas, pytest-asyncio, pytest-mock, pytestCheckHook, pyyaml, requests, requests-mock, responses, sqlalchemy, syrupy, tenacity, toml, typer,}:
buildPythonPackage rec { pname = "langchain-community"; version = "0.2.1"; pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub { owner = "langchain-ai"; repo = "langchain"; rev = "langchain-community==${version}"; hash = "sha256-h8ZJiQYmyvzaRrEVNS7SamJTq4zY7J1IgYdQiVBFh4I="; };
sourceRoot = "${src.name}/libs/community";
build-system = [ poetry-core ];
dependencies = [ aiohttp dataclasses-json langchain-core langchain langsmith numpy pyyaml requests sqlalchemy tenacity ];
passthru.optional-dependencies = { cli = [ typer ]; };
pythonImportsCheck = [ "langchain_community" ];
nativeCheckInputs = [ duckdb-engine lark pandas pytest-asyncio pytest-mock pytestCheckHook requests-mock responses syrupy toml ];
pytestFlagsArray = [ "tests/unit_tests" ];
passthru = { updateScript = langchain-core.updateScript; };
meta = with lib; { description = "Community contributed LangChain integrations"; homepage = "https://github.com/langchain-ai/langchain/tree/master/libs/community"; changelog = "https://github.com/langchain-ai/langchain/releases/tag/v${version}"; license = licenses.mit; maintainers = with maintainers; [ natsukium ]; };}