Unverified Commit e2a5df67 authored by Domen Kožar's avatar Domen Kožar Committed by GitHub
Browse files

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

parents d4c6402b cb16b779
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -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
Original line number Diff line number Diff line
@@ -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 = {