9c6ee729d6
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
24 lines
623 B
Nix
24 lines
623 B
Nix
{ lib, nimPackages, fetchFromGitHub }:
|
|
|
|
nimPackages.buildNimPackage (finalAttrs: {
|
|
pname = "ttop";
|
|
version = "1.0.1";
|
|
nimBinOnly = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "inv2004";
|
|
repo = "ttop";
|
|
rev = "v${finalAttrs.version}";
|
|
hash = "sha256-x4Uczksh6p3XX/IMrOFtBxIleVHdAPX9e8n32VAUTC4=";
|
|
};
|
|
|
|
buildInputs = with nimPackages; [ asciigraph illwill parsetoml zippy ];
|
|
|
|
meta = with lib;
|
|
finalAttrs.src.meta // {
|
|
description = "Top-like system monitoring tool";
|
|
license = licenses.mit;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ sikmir ];
|
|
};
|
|
})
|