feat(claude-code): update package to v0.2.106

- Bumped version of `claude-code` from 0.2.99 to 0.2.106.
- Updated dependencies, hashes, and added Node.js 20 support.
- Ensures compatibility with the latest release and runtime environment.
This commit is contained in:
Harald Hoyer 2025-05-09 13:12:03 +02:00
parent 8d3323df80
commit f731fa5ec1
2 changed files with 14 additions and 11 deletions

View file

@ -1,19 +1,22 @@
{ lib
, buildNpmPackage
, fetchzip
,
{
lib,
buildNpmPackage,
fetchzip,
nodejs_20,
}:
buildNpmPackage rec {
pname = "claude-code";
version = "0.2.99";
version = "0.2.106";
nodejs = nodejs_20;
src = fetchzip {
url = "https://registry.npmjs.org/@anthropic-ai/claude-code/-/claude-code-${version}.tgz";
hash = "sha256-MfzhISp36niovUMPU8vC+a3PTp53PpOHeGacH6nj/PY=";
hash = "sha256-hS/aPB4hL1+jeJjIu+ztS2TVLO4lL7IKhBTMXlRO58Y=";
};
npmDepsHash = "sha256-pe2WSDovHvAsx4SYr+a/fTRrpYPya68S10mUWvv18M4=";
npmDepsHash = "sha256-HZ3d04tLeZkSLACIu79K5QIYpkYNcSyvp07OXIgFdss=";
postPatch = ''
cp ${./package-lock.json} package-lock.json