2018-04-12 15:15:13 +01:00
|
|
|
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
name = "gotop-${version}";
|
2019-02-11 12:17:44 +00:00
|
|
|
version = "2.0.1";
|
2018-04-12 15:15:13 +01:00
|
|
|
|
|
|
|
goPackagePath = "github.com/cjbassi/gotop";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
repo = "gotop";
|
|
|
|
owner = "cjbassi";
|
|
|
|
rev = version;
|
2019-02-11 12:17:44 +00:00
|
|
|
sha256 = "0xpm8nrn53kz65f93czflgdgr2a33qfi1w0gsgngrmaliq1vlpji";
|
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
|
|
|
};
|
|
|
|
}
|