feat: upgrade claude-code to version 0.2.114

Updated the claude-code package to version 0.2.114 and its associated hash in the package definition. Removed nodejs_20 references and related dependencies as part of cleanup.
This commit is contained in:
Harald Hoyer 2025-05-15 08:52:43 +02:00
parent 12e2bb7521
commit d03615aee1
3 changed files with 8 additions and 462 deletions

View file

@ -2,21 +2,18 @@
lib,
buildNpmPackage,
fetchzip,
nodejs_20,
}:
buildNpmPackage rec {
pname = "claude-code";
version = "0.2.106";
nodejs = nodejs_20;
version = "0.2.114";
src = fetchzip {
url = "https://registry.npmjs.org/@anthropic-ai/claude-code/-/claude-code-${version}.tgz";
hash = "sha256-hS/aPB4hL1+jeJjIu+ztS2TVLO4lL7IKhBTMXlRO58Y=";
hash = "sha256-el6pRQaMczBTrpC+LA2i60BjEWe50WTZ1vogsCGi/y0=";
};
npmDepsHash = "sha256-HZ3d04tLeZkSLACIu79K5QIYpkYNcSyvp07OXIgFdss=";
npmDepsHash = "sha256-291F5Tq+JhlVETy1X4rMDgWlt/0//bjY+0WPUyQk3Sg=";
postPatch = ''
cp ${./package-lock.json} package-lock.json