2023-03-08 16:32:21 +00:00
|
|
|
{ lib, nimPackages, fetchFromGitHub }:
|
|
|
|
|
2023-07-15 17:15:38 +00:00
|
|
|
nimPackages.buildNimPackage (finalAttrs: {
|
2023-03-08 16:32:21 +00:00
|
|
|
pname = "ttop";
|
2023-03-24 00:07:29 +00:00
|
|
|
version = "1.0.1";
|
2023-03-08 16:32:21 +00:00
|
|
|
nimBinOnly = true;
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "inv2004";
|
|
|
|
repo = "ttop";
|
2023-07-15 17:15:38 +00:00
|
|
|
rev = "v${finalAttrs.version}";
|
2023-03-24 00:07:29 +00:00
|
|
|
hash = "sha256-x4Uczksh6p3XX/IMrOFtBxIleVHdAPX9e8n32VAUTC4=";
|
2023-03-08 16:32:21 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = with nimPackages; [ asciigraph illwill parsetoml zippy ];
|
|
|
|
|
|
|
|
meta = with lib;
|
2023-07-15 17:15:38 +00:00
|
|
|
finalAttrs.src.meta // {
|
2023-03-08 16:32:21 +00:00
|
|
|
description = "Top-like system monitoring tool";
|
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ sikmir ];
|
|
|
|
};
|
2023-07-15 17:15:38 +00:00
|
|
|
})
|