2018-04-12 15:15:13 +01:00
|
|
|
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoPackage rec {
|
2019-04-10 21:22:48 +01:00
|
|
|
pname = "gotop";
|
|
|
|
version = "3.0.0";
|
2018-04-12 15:15:13 +01:00
|
|
|
|
|
|
|
goPackagePath = "github.com/cjbassi/gotop";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "cjbassi";
|
2019-04-10 21:22:48 +01:00
|
|
|
repo = pname;
|
2018-04-12 15:15:13 +01:00
|
|
|
rev = version;
|
2019-04-10 21:22:48 +01:00
|
|
|
sha256 = "1kndj5qjaqgizjakh642fay2i0i1jmfjlk1p01gnjbh2b0yzvj1r";
|
2018-04-12 15:15:13 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
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 ];
|
2018-07-23 12:45:28 +01:00
|
|
|
platforms = platforms.unix;
|
2018-04-12 15:15:13 +01:00
|
|
|
};
|
|
|
|
}
|