claude-code: 0.2.53 -> 0.2.54 (#393488)

This commit is contained in:
Domen Kožar
2025-03-27 08:45:39 +00:00
committed by GitHub
2 changed files with 15 additions and 7 deletions
+4 -4
View File
@@ -5,13 +5,13 @@
"packages": {
"": {
"dependencies": {
"@anthropic-ai/claude-code": "^0.2.53"
"@anthropic-ai/claude-code": "^0.2.54"
}
},
"node_modules/@anthropic-ai/claude-code": {
"version": "0.2.53",
"resolved": "https://registry.npmjs.org/@anthropic-ai/claude-code/-/claude-code-0.2.53.tgz",
"integrity": "sha512-DKXGjSsu2+rc1GaAdOjRqD7fMLvyQgwi/sqf6lLHWQAarwYxR/ahbSheu7h1Ub0wm0htnuIqgNnmNZUM43w/3Q==",
"version": "0.2.54",
"resolved": "https://registry.npmjs.org/@anthropic-ai/claude-code/-/claude-code-0.2.54.tgz",
"integrity": "sha512-kl/g4oBg+FBQHRQv3INaiDuNWoYIUm4BbIk4qd5YbesFQVMPGtblh0Avst61FUo9ZCm64iBPWupPe5aaiJ6Y9Q==",
"hasInstallScript": true,
"license": "SEE LICENSE IN README.md",
"bin": {
+11 -3
View File
@@ -6,14 +6,14 @@
buildNpmPackage rec {
pname = "claude-code";
version = "0.2.53";
version = "0.2.54";
src = fetchzip {
url = "https://registry.npmjs.org/@anthropic-ai/claude-code/-/claude-code-${version}.tgz";
hash = "sha256-oWXtIGJwVe/LwAlIWfpA5Jn9zZWQtjw03DkyQ/Sg08c=";
hash = "sha256-zeHaEqcUcxvF0xu2ZViL0m3v8v0UFB/xvBsEWR03F9I=";
};
npmDepsHash = "sha256-3igDt1N77LJu5Dq9uK3bd90sfYZkjBOt5ArvoRibFeo=";
npmDepsHash = "sha256-e0vVEtJC1QIlGS6XQA0eMLdd7wFYWRuyC0Ynpu/Iw88=";
postPatch = ''
cp ${./package-lock.json} package-lock.json
@@ -23,6 +23,14 @@ buildNpmPackage rec {
AUTHORIZED = "1";
# `claude-code` tries to auto-update by default, this disables that functionality.
# Note that the `DISABLE_AUTOUPDATER` environment variable is not documented, so this trick may
# not continue to work.
postInstall = ''
wrapProgram $out/bin/claude \
--set DISABLE_AUTOUPDATER 1
'';
passthru.updateScript = ./update.sh;
meta = {