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

This commit is contained in:
Masum Reza
2025-09-30 09:54:12 +00:00
committed by GitHub
3 changed files with 7 additions and 11 deletions

View File

@@ -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 = {

View File

@@ -1,12 +1,12 @@
{
"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"

View File

@@ -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