summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/langgraph-cli/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/langgraph-cli/default.nix')
-rw-r--r--pkgs/development/python-modules/langgraph-cli/default.nix24
1 files changed, 13 insertions, 11 deletions
diff --git a/pkgs/development/python-modules/langgraph-cli/default.nix b/pkgs/development/python-modules/langgraph-cli/default.nix
index 9403d86784db..d9fcad01c893 100644
--- a/pkgs/development/python-modules/langgraph-cli/default.nix
+++ b/pkgs/development/python-modules/langgraph-cli/default.nix
@@ -1,33 +1,33 @@
{
lib,
buildPythonPackage,
- click,
fetchFromGitHub,
+
+ # build-system
poetry-core,
- # for update script
- langgraph-sdk,
+ # dependencies
+ click,
# testing
pytest-asyncio,
pytestCheckHook,
docker-compose,
- pythonOlder,
+ # passthru
+ nix-update-script,
}:
buildPythonPackage rec {
pname = "langgraph-cli";
- version = "0.1.74";
+ version = "0.2.5";
pyproject = true;
- disabled = pythonOlder "3.10";
-
src = fetchFromGitHub {
owner = "langchain-ai";
repo = "langgraph";
tag = "cli==${version}";
- hash = "sha256-9/lL2TyOPiRIy6PfWEcd2fBNjn3n3Rpg0/7DL/4+Qpc=";
+ hash = "sha256-vEaD4uUblTkgahoeGmjCOmHrfszLPmKwgavlPOW+wSw=";
};
sourceRoot = "${src.name}/libs/cli";
@@ -59,9 +59,11 @@ buildPythonPackage rec {
"test_dockerfile_command_with_docker_compose"
];
- passthru = {
- inherit (langgraph-sdk) updateScript;
- skipBulkUpdate = true; # Broken, see https://github.com/NixOS/nixpkgs/issues/379898
+ passthru.updateScript = nix-update-script {
+ extraArgs = [
+ "--version-regex"
+ "cli==(\\d+\\.\\d+\\.\\d+)"
+ ];
};
meta = {