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

authored by Domen Kožar and committed by GitHub e2a5df67 d4c6402b

+15 -7
+4 -4
pkgs/by-name/cl/claude-code/package-lock.json
··· 5 "packages": { 6 "": { 7 "dependencies": { 8 - "@anthropic-ai/claude-code": "^0.2.53" 9 } 10 }, 11 "node_modules/@anthropic-ai/claude-code": { 12 - "version": "0.2.53", 13 - "resolved": "https://registry.npmjs.org/@anthropic-ai/claude-code/-/claude-code-0.2.53.tgz", 14 - "integrity": "sha512-DKXGjSsu2+rc1GaAdOjRqD7fMLvyQgwi/sqf6lLHWQAarwYxR/ahbSheu7h1Ub0wm0htnuIqgNnmNZUM43w/3Q==", 15 "hasInstallScript": true, 16 "license": "SEE LICENSE IN README.md", 17 "bin": {
··· 5 "packages": { 6 "": { 7 "dependencies": { 8 + "@anthropic-ai/claude-code": "^0.2.54" 9 } 10 }, 11 "node_modules/@anthropic-ai/claude-code": { 12 + "version": "0.2.54", 13 + "resolved": "https://registry.npmjs.org/@anthropic-ai/claude-code/-/claude-code-0.2.54.tgz", 14 + "integrity": "sha512-kl/g4oBg+FBQHRQv3INaiDuNWoYIUm4BbIk4qd5YbesFQVMPGtblh0Avst61FUo9ZCm64iBPWupPe5aaiJ6Y9Q==", 15 "hasInstallScript": true, 16 "license": "SEE LICENSE IN README.md", 17 "bin": {
+11 -3
pkgs/by-name/cl/claude-code/package.nix
··· 6 7 buildNpmPackage rec { 8 pname = "claude-code"; 9 - version = "0.2.53"; 10 11 src = fetchzip { 12 url = "https://registry.npmjs.org/@anthropic-ai/claude-code/-/claude-code-${version}.tgz"; 13 - hash = "sha256-oWXtIGJwVe/LwAlIWfpA5Jn9zZWQtjw03DkyQ/Sg08c="; 14 }; 15 16 - npmDepsHash = "sha256-3igDt1N77LJu5Dq9uK3bd90sfYZkjBOt5ArvoRibFeo="; 17 18 postPatch = '' 19 cp ${./package-lock.json} package-lock.json ··· 22 dontNpmBuild = true; 23 24 AUTHORIZED = "1"; 25 26 passthru.updateScript = ./update.sh; 27
··· 6 7 buildNpmPackage rec { 8 pname = "claude-code"; 9 + version = "0.2.54"; 10 11 src = fetchzip { 12 url = "https://registry.npmjs.org/@anthropic-ai/claude-code/-/claude-code-${version}.tgz"; 13 + hash = "sha256-zeHaEqcUcxvF0xu2ZViL0m3v8v0UFB/xvBsEWR03F9I="; 14 }; 15 16 + npmDepsHash = "sha256-e0vVEtJC1QIlGS6XQA0eMLdd7wFYWRuyC0Ynpu/Iw88="; 17 18 postPatch = '' 19 cp ${./package-lock.json} package-lock.json ··· 22 dontNpmBuild = true; 23 24 AUTHORIZED = "1"; 25 + 26 + # `claude-code` tries to auto-update by default, this disables that functionality. 27 + # Note that the `DISABLE_AUTOUPDATER` environment variable is not documented, so this trick may 28 + # not continue to work. 29 + postInstall = '' 30 + wrapProgram $out/bin/claude \ 31 + --set DISABLE_AUTOUPDATER 1 32 + ''; 33 34 passthru.updateScript = ./update.sh; 35