mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-01 05:04:40 +00:00
55 lines
1.5 KiB
Nix
55 lines
1.5 KiB
Nix
{
|
|
lib,
|
|
vscode-utils,
|
|
vscode-extension-update-script,
|
|
autoPatchelfHook,
|
|
stdenv,
|
|
}:
|
|
|
|
vscode-utils.buildVscodeMarketplaceExtension {
|
|
mktplcRef =
|
|
let
|
|
sources = {
|
|
"x86_64-linux" = {
|
|
arch = "linux-x64";
|
|
hash = "sha256-7832RechlKoDV42/82+OKoNBo+wzfB8kpTzLX1sL5mY=";
|
|
};
|
|
"aarch64-linux" = {
|
|
arch = "linux-arm64";
|
|
hash = "sha256-P8GUuAMrt0OTAqti3dDY738QmzJapNMxBUaTJj0TN+U=";
|
|
};
|
|
"aarch64-darwin" = {
|
|
arch = "darwin-arm64";
|
|
hash = "sha256-3sSd5bDC2ECDpCQKS5QOO3GBMWfhOFe6uOIfeZyUhLA=";
|
|
};
|
|
};
|
|
in
|
|
{
|
|
publisher = "kilocode";
|
|
name = "Kilo-Code";
|
|
version = "7.4.16";
|
|
}
|
|
// sources.${stdenv.hostPlatform.system}
|
|
or (throw "Unsupported system ${stdenv.hostPlatform.system}");
|
|
|
|
nativeBuildInputs = lib.optionals stdenv.hostPlatform.isLinux [ autoPatchelfHook ];
|
|
|
|
buildInputs = [ stdenv.cc.cc.lib ];
|
|
|
|
passthru.updateScript = vscode-extension-update-script { };
|
|
|
|
meta = {
|
|
description = "Open Source AI coding assistant for planning, building, and fixing code";
|
|
homepage = "https://kilo.ai";
|
|
downloadPage = "https://marketplace.visualstudio.com/items?itemName=kilocode.Kilo-Code";
|
|
license = lib.licenses.mit;
|
|
sourceProvenance = with lib.sourceTypes; [ fromSource ];
|
|
platforms = [
|
|
"aarch64-linux"
|
|
"aarch64-darwin"
|
|
"x86_64-linux"
|
|
];
|
|
maintainers = with lib.maintainers; [ xiaoxiangmoe ];
|
|
};
|
|
}
|