Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869{ lib, buildPythonPackage, fetchFromGitHub, gitUpdater,
# build-system hatchling,
# dependencies langgraph-checkpoint, langchain-mongodb, pymongo,}:
buildPythonPackage (finalAttrs: { pname = "langgraph-checkpoint-mongodb"; version = "0.5.1"; pyproject = true;
src = fetchFromGitHub { owner = "langchain-ai"; repo = "langchain-mongodb"; tag = "libs/langgraph-checkpoint-mongodb/v${finalAttrs.version}"; hash = "sha256-7yJR7ncaEQsy2shokdDHflFwKLISRG18EiQFQpVZqvI="; };
sourceRoot = "${finalAttrs.src.name}/libs/langgraph-checkpoint-mongodb";
build-system = [ hatchling ];
pythonRelaxDeps = [ "pymongo" ];
dependencies = [ langgraph-checkpoint langchain-mongodb pymongo ];
enabledTestPaths = [ "tests/unit_tests" ];
# Connection refused (to localhost:27017) for all tests doCheck = false;
passthru = { # python updater script sets the wrong tag skipBulkUpdate = true; updateScript = gitUpdater { rev-prefix = "libs/langgraph-checkpoint-mongodb/v"; ignoredVersions = "a|b|dev|rc"; }; };
# no pythonImportsCheck as this package does not provide any direct imports pythonImportsCheck = [ "langgraph.checkpoint.mongodb" ];
meta = { description = "Integrations between MongoDB, Atlas, LangChain, and LangGraph"; homepage = "https://github.com/langchain-ai/langchain-mongodb/tree/main/libs/langgraph-checkpoint-mongodb"; changelog = "https://github.com/langchain-ai/langchain-mongodb/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ sarahec ]; };})