summary refs log tree commit diff
path: root/pkgs/tools/system/gotop/default.nix
blob: daf9ce58c91130749b90a703e9cf843a8cf9ae21 (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 {
  pname = "gotop";
  version = "3.0.0";

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

  src = fetchFromGitHub {
    owner = "cjbassi";
    repo = pname;
    rev = version;
    sha256 = "1kndj5qjaqgizjakh642fay2i0i1jmfjlk1p01gnjbh2b0yzvj1r";
  };

  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.unix;
  };
}