aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-10-01 18:58:12 +0900
committernsfisis <nsfisis@gmail.com>2025-10-01 18:58:12 +0900
commit3c7938517093cfe2590e11f50ecc8fef5a0f5d09 (patch)
treec45a515cfe232c8061eea423634fc79bc81fa995
parent918753ed77736eab53e1183b872c0c150e141001 (diff)
downloadnur-packages-3c7938517093cfe2590e11f50ecc8fef5a0f5d09.tar.gz
nur-packages-3c7938517093cfe2590e11f50ecc8fef5a0f5d09.tar.zst
nur-packages-3c7938517093cfe2590e11f50ecc8fef5a0f5d09.zip
feat(claude-code): update
-rw-r--r--pkgs/claude-code/default.nix6
-rw-r--r--pkgs/claude-code/package-lock.json8
2 files changed, 7 insertions, 7 deletions
diff --git a/pkgs/claude-code/default.nix b/pkgs/claude-code/default.nix
index f96b380..ef55886 100644
--- a/pkgs/claude-code/default.nix
+++ b/pkgs/claude-code/default.nix
@@ -9,16 +9,16 @@
buildNpmPackage rec {
pname = "claude-code";
- version = "1.0.126";
+ version = "2.0.1";
nodejs = nodejs_20; # required for sandboxed Nix builds on Darwin
src = fetchzip {
url = "https://registry.npmjs.org/@anthropic-ai/claude-code/-/claude-code-${version}.tgz";
- hash = "sha256-U6uYRkmVqMoJDAAzLHpF9G5OglPhLqPuwe6gWMQPx78=";
+ hash = "sha256-LUbDPFa0lY74MBU4hvmYVntt6hVZy6UUZFN0iB4Eno8=";
};
- npmDepsHash = "sha256-m+GYa3uPfkUDV+p95uQToY3n/k0JG8hbppBn0GUeV+8=";
+ npmDepsHash = "sha256-mxMEO1r5KzHw7d3NRJSWtkc9vnnd5XbgD2D5MYP1zO0=";
postPatch = ''
cp ${./package-lock.json} package-lock.json
diff --git a/pkgs/claude-code/package-lock.json b/pkgs/claude-code/package-lock.json
index 41acd20..1605898 100644
--- a/pkgs/claude-code/package-lock.json
+++ b/pkgs/claude-code/package-lock.json
@@ -6,13 +6,13 @@
"packages": {
"": {
"dependencies": {
- "@anthropic-ai/claude-code": "^1.0.126"
+ "@anthropic-ai/claude-code": "^2.0.1"
}
},
"node_modules/@anthropic-ai/claude-code": {
- "version": "1.0.126",
- "resolved": "https://registry.npmjs.org/@anthropic-ai/claude-code/-/claude-code-1.0.126.tgz",
- "integrity": "sha512-DvzpL0LLB5nXRgJi4h+peDVys8sjfy5/QJMiketpqUd9SebTE673KnZ28lwEY4s944t/ywA80oNaJLXHMbqfcQ==",
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/@anthropic-ai/claude-code/-/claude-code-2.0.1.tgz",
+ "integrity": "sha512-2SboYcdJ+dsE2K784dbJ4ohVWlAkLZhU7mZG1lebyG6TvGLXLhjc2qTEfCxSeelCjJHhIh/YkNpe06veB4IgBw==",
"license": "SEE LICENSE IN README.md",
"bin": {
"claude": "cli.js"