blob: 1ec43c58a85326d9a0fa089d7b9764a358c60654 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
# build-system
hatchling,
# dependencies
langgraph-checkpoint,
langchain-mongodb,
}:
buildPythonPackage rec {
pname = "langgraph-store-mongodb";
version = "0.1.1";
pyproject = true;
src = fetchFromGitHub {
owner = "langchain-ai";
repo = "langchain-mongodb";
tag = "libs/langgraph-store-mongodb/v${version}";
hash = "sha256-/dafQK6iy85rMt7FMVb3ssaIop9JjjrwajaHAfBUp7g=";
};
sourceRoot = "${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" ];
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/${src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ sarahec ];
};
}
|