abtop: init at 0.5.1 (#537462)

This commit is contained in:
Sandro
2026-07-01 18:17:53 +00:00
committed by GitHub

View File

@@ -0,0 +1,36 @@
{
lib,
rustPlatform,
fetchFromGitHub,
versionCheckHook,
nix-update-script,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "abtop";
version = "0.5.1";
__structuredAttrs = true;
src = fetchFromGitHub {
owner = "graykode";
repo = "abtop";
tag = "v${finalAttrs.version}";
hash = "sha256-2m0FYv2HouFqnmDaG6ounc8VJxlEK3N3uTBZyNiFwzI=";
};
cargoHash = "sha256-0sAjql2pH41dHdmV0uC4jjj6J1OFjMdEY1B+4C4id3Y=";
doInstallCheck = true;
nativeInstallCheckInputs = [ versionCheckHook ];
passthru.updateScript = nix-update-script { };
meta = {
description = "Like htop, but for AI coding agents";
homepage = "https://github.com/graykode/abtop";
changelog = "https://github.com/graykode/abtop/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ Br1ght0ne ];
mainProgram = "abtop";
};
})