mactop: enable version check

This commit is contained in:
natsukium
2025-01-03 15:04:25 +09:00
parent 29f117d90a
commit 471bff0b46
+5
View File
@@ -2,6 +2,7 @@
lib,
buildGoModule,
fetchFromGitHub,
versionCheckHook,
}:
buildGoModule rec {
@@ -22,6 +23,10 @@ buildGoModule rec {
"-w"
];
doInstallCheck = true;
nativeInstallCheckInputs = [ versionCheckHook ];
versionCheckProgramArg = [ "--version" ];
meta = {
description = "Terminal-based monitoring tool 'top' designed to display real-time metrics for Apple Silicon chips";
homepage = "https://github.com/context-labs/mactop";