feat: add open-code-review package (alibaba AI code review CLI)
CI / check (push) Has been cancelled

Build alibaba/open-code-review v1.12.9 from source via buildGoModule
(CGO disabled, cmd/opencodereview subpackage, version ldflags).

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
This commit is contained in:
2026-09-26 10:24:25 +03:00
parent a150408a5a
commit 308494febe
3 changed files with 59 additions and 0 deletions
+2
View File
@@ -33,6 +33,7 @@ A custom Nix overlay and flake providing additional packages not found in upstre
| `loop` | Corporate messenger for your team | Communication |
| `radar` | Modern Kubernetes visibility — topology, event timeline, service traffic, resource browsing, Helm management, and GitOps support | Kubernetes |
| `omniroute` | Unified AI router with 160+ providers, auto fallback, MCP/A2A, OpenAI-compatible APIs | AI LLM Gateway |
| `open-code-review` | AI-powered code review CLI combining deterministic pipelines with an LLM agent for line-level review comments | AI Coding Agents |
| `relay-free-llm` | RESTful API to route user prompts to various AI model providers with automatic failover and intent-based routing | AI LLM Gateway |
| `stakpak` | DevOps AI agent that generates infrastructure code, debugs Kubernetes, configures CI/CD, and automates deployments | AI Agents |
| `traycer` | Open-source AI orchestration app for agentic coding | AI Coding Agents |
@@ -163,6 +164,7 @@ nix-overlay/
│ ├── loop/ # Corporate messenger for your team
│ ├── mcp-gateway/ # MCP protocol gateway
│ ├── omniroute/ # Unified AI router with 160+ providers
│ ├── open-code-review/ # AI code review CLI (deterministic + LLM agent)
│ ├── radar/ # Kubernetes UI (topology, timeline, Helm, GitOps)
│ ├── relay-free-llm/ # AI model provider routing gateway
│ ├── skillsmcp/ # MCP server for Agent Skills
+5
View File
@@ -0,0 +1,5 @@
{
pkgs,
...
}:
pkgs.callPackage ./package.nix { }
+52
View File
@@ -0,0 +1,52 @@
{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
pname = "open-code-review";
version = "1.12.9";
src = fetchFromGitHub {
owner = "alibaba";
repo = "open-code-review";
rev = "v${version}";
hash = "sha256-g/l4Ezv1YJYjRNI2DU5WgkaPvYp+/SC3yL+HEl/8kFI=";
};
vendorHash = "sha256-f5Ty22wicf1J8+RKnHYcEO7flWn9gkWQODlfunn23EA=";
env.CGO_ENABLED = 0;
subPackages = [ "cmd/opencodereview" ];
doCheck = false;
ldflags = [
"-s"
"-w"
"-X main.Version=v${version}"
"-X main.GitCommit=v${version}"
"-X main.BuildDate=1970-01-01T00:00:00Z"
];
passthru = {
category = "Code Review";
updateScript = [
"nix-update"
"--flake"
".#open-code-review"
];
};
meta = with lib; {
description = "AI-powered code review CLI combining deterministic pipelines with an LLM agent";
homepage = "https://github.com/alibaba/open-code-review";
changelog = "https://github.com/alibaba/open-code-review/releases/tag/v${version}";
license = licenses.asl20;
sourceProvenance = with sourceTypes; [ fromSource ];
mainProgram = "opencodereview";
platforms = platforms.all;
};
}