6013b17aad
Refresh every package pin so the overlay stops carrying versions upstream
has moved past, and repair the pins where an automated bump had produced a
version that no longer resolves:
- graphify 0.9.61 -> 1.0.0 and back to tag tracking: the branch-tracking
update script generated v0.9.77-unstable-<date> for a rev = "v${version}"
src, a tag that never existed
- radar 1.13.1 -> 1.16.2 (upstream retagged its releases as k8s-ui-v*)
- llama-cpp b9645 -> b11439
- hipengine 0.5.0 -> 0.6.1, traycer 1.3.0 -> 1.4.2, freetoken 0.1.2 -> 0.1.3
- awg-tool 0.4.0, freebuff 0.2.19, kubernetes-mcp-server 0.0.67,
marmel 0-unstable-2026-10-05, open-code-review 1.12.12,
ds4 0-unstable-2026-09-20
- version-string normalisation for the branch-tracked packages already at
their newest commit (g3, haivemind, shardr, skillsmcp)
Every changed src hash was re-fetched and verified. omniroute stays at
3.8.50: 3.8.51 changes its npm lockfile, so its npmDepsHash would have to
be recomputed before the bump is usable.
🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
64 lines
1.5 KiB
Nix
64 lines
1.5 KiB
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
callPackage,
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "open-code-review";
|
|
version = "1.12.12";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "alibaba";
|
|
repo = "open-code-review";
|
|
rev = "v${version}";
|
|
hash = "sha256-U8C1LdO+6QQKDStitCDVypdNq5IkRgBlPbH4udpXLRM=";
|
|
};
|
|
|
|
vendorHash = "sha256-f5Ty22wicf1J8+RKnHYcEO7flWn9gkWQODlfunn23EA=";
|
|
|
|
env.CGO_ENABLED = 0;
|
|
|
|
subPackages = [ "cmd/opencodereview" ];
|
|
|
|
doCheck = false;
|
|
|
|
# Upstream (and the bundled OpenCode plugin) invokes the CLI as `ocr`, but the
|
|
# Go build names the binary after its cmd/ directory.
|
|
postInstall = ''
|
|
ln -s $out/bin/opencodereview $out/bin/ocr
|
|
'';
|
|
|
|
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";
|
|
# OpenCode plugin built from the same source revision as the CLI.
|
|
opencode-plugin = callPackage ./opencode-plugin.nix {
|
|
inherit src version;
|
|
};
|
|
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;
|
|
};
|
|
}
|