opencode: init at 0.0.34

This commit is contained in:
zestsystem
2025-05-04 20:21:07 +09:00
parent 7327564431
commit 090aa2849a
+40
View File
@@ -0,0 +1,40 @@
{
lib,
fetchFromGitHub,
buildGoModule,
}:
buildGoModule (finalAttrs: {
pname = "opencode";
version = "0.0.34";
src = fetchFromGitHub {
owner = "opencode-ai";
repo = "opencode";
tag = "v${finalAttrs.version}";
hash = "sha256-EaspkL0TEBJEUU3f75EhZ4BOIvbneUKnTNeNGhJdjYE=";
};
vendorHash = "sha256-cFzkMunPkGQDFhQ4NQZixc5z7JCGNI7eXBn826rWEvk=";
checkFlags =
let
skippedTests = [
# permission denied
"TestBashTool_Run"
"TestSourcegraphTool_Run"
"TestLsTool_Run"
];
in
[ "-skip=^${lib.concatStringsSep "$|^" skippedTests}$" ];
meta = {
description = "Powerful terminal-based AI assistant providing intelligent coding assistance";
homepage = "https://github.com/opencode-ai/opencode";
mainProgram = "opencode";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [
zestsystem
];
};
})