chore: update packages and dependencies

- Bumped `claude-code` to version 1.0.35 and updated associated hashes.
- Upgraded `gemini-cli` to version 0.1.7 and refactored its `package.nix`.
- Updated `flake.lock` inputs for `nixpkgs`, `home-manager`, and other dependencies.
This commit is contained in:
Harald Hoyer 2025-06-30 09:49:01 +02:00
parent 620ac9bd68
commit 95259ce47b
5 changed files with 94 additions and 72 deletions

View file

@ -1,17 +1,18 @@
{
"name": "claude-code",
"version": "1.0.17",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"dependencies": {
"@anthropic-ai/claude-code": "^1.0.31"
"@anthropic-ai/claude-code": "^1.0.35"
}
},
"node_modules/@anthropic-ai/claude-code": {
"version": "1.0.31",
"resolved": "https://registry.npmjs.org/@anthropic-ai/claude-code/-/claude-code-1.0.31.tgz",
"integrity": "sha512-prn3DEIBm5ALgCjp0sCcXwNbfBR5w98bEOXQbWViow/3BwkTgW784V8i0S/kfIWDVorz0o4cqR5D0fB4hbjNIg==",
"version": "1.0.35",
"resolved": "https://registry.npmjs.org/@anthropic-ai/claude-code/-/claude-code-1.0.35.tgz",
"integrity": "sha512-rQr03moVxUZSR9hZGHXatjukxmgK9VoihiVG/lkUWFb6NDxhG+EZB+jSY2gtTsxJwnE1pQciLvOPVI/UxXo4TA==",
"hasInstallScript": true,
"license": "SEE LICENSE IN README.md",
"bin": {

View file

@ -1,22 +1,22 @@
{
lib,
buildNpmPackage,
fetchzip,
nodejs_20,
{ lib
, buildNpmPackage
, fetchzip
, nodejs_20
,
}:
buildNpmPackage rec {
pname = "claude-code";
version = "1.0.31";
version = "1.0.35";
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-DrjR1LHnLXk2cW3zXO1jxc3octITMq6t28E2KJHBxZE=";
hash = "sha256-Lt79XxHrgy6rPAHBf1QtwjsKnrZmsKFeVFOvHwN4aOY=";
};
npmDepsHash = "sha256-I3yjsxYXb9PzWb1pSDI40s17AJP9bnQZld5rH5bwwgE=";
npmDepsHash = "sha256-TXz2+Vw9/CtcTbd/ta0i4thjfadxfJ64PxvdT1zUQnI=";
postPatch = ''
cp ${./package-lock.json} package-lock.json
@ -36,11 +36,14 @@ buildNpmPackage rec {
passthru.updateScript = ./update.sh;
meta = {
description = "An agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster";
description = "Agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster";
homepage = "https://github.com/anthropics/claude-code";
downloadPage = "https://www.npmjs.com/package/@anthropic-ai/claude-code";
license = lib.licenses.unfree;
maintainers = [ lib.maintainers.malo ];
maintainers = with lib.maintainers; [
malo
omarjatoi
];
mainProgram = "claude";
};
}