feat: update claude-code

This commit is contained in:
Dominik Polakovics Polakovics 2026-02-05 21:57:35 +01:00
parent 3c34e87a80
commit a9fb912e92
2 changed files with 7 additions and 7 deletions

View file

@ -1,11 +1,11 @@
{ lib, pkgs, runCommand, claude-code }:
let
version = "2.1.12";
version = "2.1.32";
src = pkgs.fetchzip {
url = "https://registry.npmjs.org/@anthropic-ai/claude-code/-/claude-code-${version}.tgz";
hash = "sha256-JX72YEM2fXY7qKVkuk+UFeef0OhBffljpFBjIECHMXw=";
hash = "sha256-oN+Pl/SpMpI4JiU+x73Z9lNYwaz2mJpYnc4ssAG+oAo=";
};
# Create a modified source with our package-lock.json
@ -22,7 +22,7 @@ in
npmDeps = pkgs.fetchNpmDeps {
src = srcWithLock;
hash = "sha256-iJwtwAYb/+1Une6Tjxek5ccf4ui3tYWy4kNlHES9He4=";
hash = "sha256-PhYhhu6hH1D7TwjHTOxw57V1b07xFWw+e38U9TJ6zYM=";
};
# Remove the old postPatch since srcWithLock already includes package-lock.json

View file

@ -5,13 +5,13 @@
"packages": {
"": {
"dependencies": {
"@anthropic-ai/claude-code": "^2.1.12"
"@anthropic-ai/claude-code": "^2.1.32"
}
},
"node_modules/@anthropic-ai/claude-code": {
"version": "2.1.12",
"resolved": "https://registry.npmjs.org/@anthropic-ai/claude-code/-/claude-code-2.1.12.tgz",
"integrity": "sha512-oJlbUJc6iyuTA6X1z+Wsli4cYWqSHT9Ttc/jBXArrrBQcILPLb5lBOKfbVJJgcH3bNLxsXwnAkZjtmmM5SqtsQ==",
"version": "2.1.32",
"resolved": "https://registry.npmjs.org/@anthropic-ai/claude-code/-/claude-code-2.1.32.tgz",
"integrity": "sha512-TWySpzIPJCdn/RNHI7nIn/j/2PLGaw1d+v7v9JyVHk8i+cNND3eUm2YACO9219psbdtE1IpG1qeq/xsaHxlyDg==",
"license": "SEE LICENSE IN README.md",
"bin": {
"claude": "cli.js"