Something went wrong. Try again.
lol
Something went wrong. Try again.
1.5 kB · 62 lines
Nix
at master
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263{ lib, buildPythonPackage, fetchFromGitHub, nix-update-script,
# build-system hatchling,
# dependencies langgraph-checkpoint, langchain-mongodb,}:
buildPythonPackage (finalAttrs: { pname = "langgraph-store-mongodb"; version = "0.2.0"; pyproject = true;
src = fetchFromGitHub { owner = "langchain-ai"; repo = "langchain-mongodb"; tag = "libs/langgraph-store-mongodb/v${finalAttrs.version}"; hash = "sha256-IXISxo3mC0/FkjGdHTmin6z/fk71ecto+L+VZ6VFdeE="; };
sourceRoot = "${finalAttrs.src.name}/libs/langgraph-store-mongodb";
build-system = [ hatchling ];
dependencies = [ langgraph-checkpoint langchain-mongodb ];
# Connection Refused (to mongodb://localhost:27017) # Note that `langchain-mongodb` runs the same tests with mocks. doCheck = false;
pythonImportsCheck = [ "langgraph.store.mongodb" ];
# updater script selects wrong tag passthru = { skipBulkUpdate = true; updateScript = nix-update-script { extraArgs = [ "-vr" "libs/langgraph-store-mongodb/v(.*)" ]; }; };
meta = { description = "Integrations between MongoDB, Atlas, LangChain, and LangGraph"; homepage = "https://github.com/langchain-ai/langchain-mongodb/tree/main/libs/langgraph-store-mongodb"; changelog = "https://github.com/langchain-ai/langchain-mongodb/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ sarahec ]; };})