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

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

29 lines
614 B
Nix
Raw Normal View History

2023-07-31 17:04:30 +00:00
{ lib
, buildNpmPackage
, fetchFromGitHub
}:
buildNpmPackage rec {
pname = "gtop";
version = "1.1.3";
src = fetchFromGitHub {
owner = "aksakalli";
repo = "gtop";
rev = "v${version}";
hash = "sha256-7jcfJOdy3PKT6+07iaZnjWnlPLk9BhPn8LApk23E8l4=";
};
npmDepsHash = "sha256-CUfoVkG74C7HpcO3T9HmwbxHsYAgW1vYBAgNvx2av0k=";
dontNpmBuild = true;
meta = {
description = "System monitoring dashboard for the terminal";
homepage = "https://github.com/aksakalli/gtop";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ tfc ];
2023-11-27 01:17:53 +00:00
mainProgram = "gtop";
2023-07-31 17:04:30 +00:00
};
}