python3Packages.langgraph: document passthru.updateScript and simplify

This commit is contained in:
Sarah Clark
2025-06-11 16:06:35 -07:00
parent 0d22c41938
commit 5983c2d520

View File

@@ -128,10 +128,11 @@ buildPythonPackage rec {
"tests/test_pregel_async.py"
];
# Since `langgraph` is the only unprefixed package, we have to use an explicit match
passthru.updateScript = nix-update-script {
extraArgs = [
"--version-regex"
"^(\\d+\\.\\d+\\.\\d+)"
"([0-9.]+)"
];
};