nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 hatchling,
6 blockbuster,
7 croniter,
8 langgraph,
9 langgraph-checkpoint,
10 sse-starlette,
11 starlette,
12 structlog,
13}:
14
15buildPythonPackage (finalAttrs: {
16 pname = "langgraph-runtime-inmem";
17 version = "0.26.0";
18 pyproject = true;
19
20 # Not available in any repository
21 src = fetchPypi {
22 pname = "langgraph_runtime_inmem";
23 inherit (finalAttrs) version;
24 hash = "sha256-ucWH0TOTIKKlSlcKIa7K9Z7rxL4HzvHYpbA18/LGHWo=";
25 };
26
27 build-system = [ hatchling ];
28
29 dependencies = [
30 blockbuster
31 croniter
32 langgraph
33 langgraph-checkpoint
34 sse-starlette
35 starlette
36 structlog
37 ];
38
39 pythonImportsCheck = [ "langgraph_runtime_inmem" ];
40
41 # no tests
42 doCheck = false;
43
44 meta = {
45 description = "Inmem implementation for the LangGraph API server";
46 homepage = "https://pypi.org/project/langgraph-runtime-inmem/";
47 # no changelog
48 license = lib.licenses.elastic20;
49 maintainers = with lib.maintainers; [ sarahec ];
50 };
51})