Skip to content

Commit

Permalink
mactop: 0.1.9 -> 0.2.3 (#370511)
Browse files Browse the repository at this point in the history
  • Loading branch information
natsukium authored Jan 10, 2025
2 parents ff4c9da + 471bff0 commit 24a2206
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions pkgs/by-name/ma/mactop/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,30 +2,35 @@
lib,
buildGoModule,
fetchFromGitHub,
versionCheckHook,
}:

buildGoModule rec {
pname = "mactop";
version = "0.1.9";
version = "0.2.3";

src = fetchFromGitHub {
owner = "context-labs";
repo = "mactop";
rev = "refs/tags/v${version}";
hash = "sha256-r9je+oeedQJsFBWWbOUcUls/EX0JZveUkmsXXtC8O0Q=";
tag = "v${version}";
hash = "sha256-xWUCOmNwhxmutY7G+FmxT7mabexuBIcgFzX++zsdnN4=";
};

vendorHash = "sha256-/KecVx4Gp776t8gFSO29E1q9v29nwrKIWZYCpj7IlSo=";
vendorHash = "sha256-BFvd1jJzGYsI2E6BdFy+BwHOAy7VgblcByV/oRCKORs=";

ldflags = [
"-s"
"-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";
changelog = "https://github.com/context-labs/mactop/releases/tag/${lib.removePrefix "refs/tags/" src.rev}";
changelog = "https://github.com/context-labs/mactop/releases/tag/${src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ natsukium ];
mainProgram = "mactop";
Expand Down

0 comments on commit 24a2206

Please sign in to comment.