Unverified Commit 17aa85c2 authored by Masum Reza's avatar Masum Reza Committed by GitHub
Browse files

claude-code: 1.0.128 -> 2.0.1 (#447431)

parents 8b0b1eea 4d256032
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -7,8 +7,8 @@ vscode-utils.buildVscodeMarketplaceExtension {
  mktplcRef = {
    name = "claude-code";
    publisher = "anthropic";
    version = "1.0.127";
    hash = "sha256-wR8iBlHUSb0/vEWDqDSzHpbZPHr2Nfzw/xXGccDi+28=";
    version = "2.0.0";
    hash = "sha256-vd3ZT8iwmbUCeaHgiDGLzWehOj4j/hMinHiXQytwVz4=";
  };

  meta = {
+2 −2
Original line number Diff line number Diff line
{
  "name": "@anthropic-ai/claude-code",
  "version": "1.0.128",
  "version": "2.0.1",
  "lockfileVersion": 3,
  "requires": true,
  "packages": {
    "": {
      "name": "@anthropic-ai/claude-code",
      "version": "1.0.128",
      "version": "2.0.1",
      "license": "SEE LICENSE IN README.md",
      "bin": {
        "claude": "cli.js"
+3 −7
Original line number Diff line number Diff line
@@ -2,23 +2,19 @@
  lib,
  buildNpmPackage,
  fetchzip,
  nodejs_20,
  writableTmpDirAsHomeHook,
  versionCheckHook,
}:

buildNpmPackage (finalAttrs: {
  pname = "claude-code";
  version = "1.0.128";

  nodejs = nodejs_20; # required for sandboxed Nix builds on Darwin
  version = "2.0.1";

  src = fetchzip {
    url = "https://registry.npmjs.org/@anthropic-ai/claude-code/-/claude-code-${finalAttrs.version}.tgz";
    hash = "sha256-dzLGcCgje3FMMS+Ptmxd2JK08y7z9rI0ak5l3Bv1MUk=";
    hash = "sha256-LUbDPFa0lY74MBU4hvmYVntt6hVZy6UUZFN0iB4Eno8=";
  };

  npmDepsHash = "sha256-Ynoj85a/F9Jv4w2vRDnGqn/G6zkaPesNQNEdqAE5zOo=";
  npmDepsHash = "sha256-DehkeMZvzn+hvcCDzJfd4p9oYc1GSZm8gu8vKS4Uncw=";

  postPatch = ''
    cp ${./package-lock.json} package-lock.json