From eb45b89a2a15d1be02faa0f8c763661d11027631 Mon Sep 17 00:00:00 2001 From: Rutherther Date: Fri, 23 Jan 2026 14:37:51 +0100 Subject: [PATCH] feat: add claude-code cli and codex --- modules/ruther/packages/node.scm | 57 ++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 modules/ruther/packages/node.scm diff --git a/modules/ruther/packages/node.scm b/modules/ruther/packages/node.scm new file mode 100644 index 0000000000000000000000000000000000000000..516bc74f7f7bbe5adfd96fa94d1a2a11a132e934 --- /dev/null +++ b/modules/ruther/packages/node.scm @@ -0,0 +1,57 @@ +(define-module (ruther packages node) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix packages) + #:use-module (guix gexp) + #:use-module (guix build-system node) + #:use-module (guix download)) + +(define-public node-anthropic-ai-claude-code-1.0.72 + (package + (name "claude-code") + (version "2.1.9") + (source + (origin + (method url-fetch) + (uri + (string-append "https://registry.npmjs.org/@anthropic-ai/claude-code/-/claude-code-" version ".tgz")) + (sha256 + (base32 "0l3r2s64dvcwhnvfw1jaq8dx1lz92q0iygnc9amlzz33206pix6x")))) + (build-system node-build-system) + (arguments + (list + #:tests? #f + #:phases + #~(modify-phases %standard-phases + ;; (delete 'build) + (delete 'validate-runpath)))) + (home-page "https://github.com/anthropics/claude-code") + (synopsis + "Use Claude, Anthropic's AI assistant, right from your terminal. Claude can understand your codebase, edit files, run terminal commands, and handle entire workflows for you.") + (description + "Use Claude, Anthropic's AI assistant, right from your terminal. Claude can understand your codebase, edit files, run terminal commands, and handle entire workflows for you.") + (license #f))) + +(define-public openai-codex + (package + (name "codex") + (version "0.89.0") + (source + (origin + (method url-fetch) + (uri "https://registry.npmjs.org/@openai/codex/-/codex-0.89.0.tgz") + (sha256 + (base32 "13nww8bi6ww56nsgccq0ri31p1dz95wkr9dvchdwbqb96zkz53s5")))) + (build-system node-build-system) + (arguments + (list + #:tests? #f + #:phases + #~(modify-phases %standard-phases + (delete 'build) + (delete 'validate-runpath)))) + (home-page "https://github.com/openai/codex#readme") + (synopsis + "

npm i -g @openai/codex
or brew install --cask codex

Codex CLI is a coding agent from OpenAI that runs locally on your computer.

npm i -g @openai/codex
or brew install --cask codex

Codex CLI is a coding agent from OpenAI that runs locally on your computer.