nixpkgs/pkgs/tools/system/ttop/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
623 B
Nix
Raw Normal View History

2023-03-05 12:35:09 +01:00
{ lib, nimPackages, fetchFromGitHub }:
nimPackages.buildNimPackage (finalAttrs: {
2023-03-05 12:35:09 +01:00
pname = "ttop";
2023-03-20 04:35:58 +01:00
version = "1.0.1";
2023-03-05 12:35:09 +01:00
nimBinOnly = true;
src = fetchFromGitHub {
owner = "inv2004";
repo = "ttop";
rev = "v${finalAttrs.version}";
2023-03-20 04:35:58 +01:00
hash = "sha256-x4Uczksh6p3XX/IMrOFtBxIleVHdAPX9e8n32VAUTC4=";
2023-03-05 12:35:09 +01:00
};
buildInputs = with nimPackages; [ asciigraph illwill parsetoml zippy ];
meta = with lib;
finalAttrs.src.meta // {
2023-03-05 12:35:09 +01:00
description = "Top-like system monitoring tool";
license = licenses.mit;
platforms = platforms.linux;
maintainers = with maintainers; [ sikmir ];
};
})