summary refs log tree commit diff
path: root/pkgs/tools/system/gotop/default.nix
blob: 2244f5c90d37882f153e71dc7a8493a2904cd991 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ stdenv, buildGoPackage, fetchFromGitHub }:

buildGoPackage rec {
  name = "gotop-${version}";
  version = "1.2.9";

  goPackagePath = "github.com/cjbassi/gotop";

  src = fetchFromGitHub {
    repo = "gotop";
    owner = "cjbassi";
    rev = version;
    sha256 = "07s2f04yhc79vqr1gdh2v974kpn7flp4slnp99mavpa331lv9q8a";
  };

  meta = with stdenv.lib; {
    description = "A terminal based graphical activity monitor inspired by gtop and vtop";
    homepage = https://github.com/cjbassi/gotop;
    license = licenses.agpl3;
    maintainers = [ maintainers.magnetophon ];
    platforms = platforms.linux;
  };
}