depot/third_party/nixpkgs/pkgs/tools/system/gtop/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

28 lines
614 B
Nix

{ lib
, buildNpmPackage
, fetchFromGitHub
}:
buildNpmPackage rec {
pname = "gtop";
version = "1.1.5";
src = fetchFromGitHub {
owner = "aksakalli";
repo = "gtop";
rev = "v${version}";
hash = "sha256-FKbaUV28d0JH9tmTSJBFYQrM5iensnIpcXUFFvXDMe4=";
};
npmDepsHash = "sha256-QKMLFalaOQjhgVkv8lIDnKyH7+GOqOKIl3zoLwrHIF4=";
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 ];
mainProgram = "gtop";
};
}