feat: update claude code
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
{ lib, pkgs, runCommand, claude-code }:
|
||||
|
||||
let
|
||||
version = "2.0.55";
|
||||
version = "2.0.76";
|
||||
|
||||
src = pkgs.fetchzip {
|
||||
url = "https://registry.npmjs.org/@anthropic-ai/claude-code/-/claude-code-${version}.tgz";
|
||||
hash = "sha256-wsjOkNxuBLMYprjaZQyUZHiqWl8UG7cZ1njkyKZpRYg=";
|
||||
hash = "sha256-46IqiGJZrZM4vVcanZj/vY4uxFH3/4LxNA+Qb6iIHDk=";
|
||||
};
|
||||
|
||||
# Create a modified source with our package-lock.json
|
||||
@@ -22,7 +22,7 @@ in
|
||||
|
||||
npmDeps = pkgs.fetchNpmDeps {
|
||||
src = srcWithLock;
|
||||
hash = "sha256-cFvPoCmh3XpJe/5LPZizfBz6F6xAPYnBNimrK4+VbPw=";
|
||||
hash = "sha256-xSNyYImDpsW6AltA7d0ayMsfVaBcnyPIQOg/Ea2cGNk=";
|
||||
};
|
||||
|
||||
# Remove the old postPatch since srcWithLock already includes package-lock.json
|
||||
|
||||
8
utils/pkgs/claude-code/package-lock.json
generated
8
utils/pkgs/claude-code/package-lock.json
generated
@@ -5,13 +5,13 @@
|
||||
"packages": {
|
||||
"": {
|
||||
"dependencies": {
|
||||
"@anthropic-ai/claude-code": "^2.0.55"
|
||||
"@anthropic-ai/claude-code": "^2.0.76"
|
||||
}
|
||||
},
|
||||
"node_modules/@anthropic-ai/claude-code": {
|
||||
"version": "2.0.55",
|
||||
"resolved": "https://registry.npmjs.org/@anthropic-ai/claude-code/-/claude-code-2.0.55.tgz",
|
||||
"integrity": "sha512-IVY6J2KgTP5BiCbLmuP3kAl8jbXfd6yGoXtvc0L0eiZwxJUMa+cubUU0U8qHRnVkNmDAis+O4P00KmeuGzSLWg==",
|
||||
"version": "2.0.76",
|
||||
"resolved": "https://registry.npmjs.org/@anthropic-ai/claude-code/-/claude-code-2.0.76.tgz",
|
||||
"integrity": "sha512-BVwPez7Pst729gxHZNb7iUdjrn4UAzO49zC+Bxlyf0fMe3SsutxEhKTT16VMs2qInE9xhEBCxajCCa888mFPBg==",
|
||||
"license": "SEE LICENSE IN README.md",
|
||||
"bin": {
|
||||
"claude": "cli.js"
|
||||
|
||||
Reference in New Issue
Block a user