2020-03-03 09:20:00 +00:00
|
|
|
{ stdenv, buildGoModule, fetchFromGitHub }:
|
2018-04-12 15:15:13 +01:00
|
|
|
|
2020-03-03 09:20:00 +00:00
|
|
|
buildGoModule rec {
|
2019-04-10 21:22:48 +01:00
|
|
|
pname = "gotop";
|
2020-03-03 09:20:00 +00:00
|
|
|
version = "3.5.0";
|
2018-04-12 15:15:13 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2020-03-03 09:20:00 +00:00
|
|
|
owner = "xxxserxxx";
|
2019-04-10 21:22:48 +01:00
|
|
|
repo = pname;
|
2020-03-03 09:20:00 +00:00
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "01a2y2604dh2zfy5f2fxr306id0fbq0df91fpz2m8w7rpaszd6xr";
|
2018-04-12 15:15:13 +01:00
|
|
|
};
|
|
|
|
|
2020-03-03 09:20:00 +00:00
|
|
|
modSha256 = "1gbpxq2vyshln97gij5y9qsjyf3mkwfqwwhikc0cck3mnwiv87dd";
|
|
|
|
|
2018-04-12 15:15:13 +01:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A terminal based graphical activity monitor inspired by gtop and vtop";
|
2020-03-03 09:20:00 +00:00
|
|
|
homepage = "https://github.com/xxxserxxx/gotop";
|
2018-04-12 15:15:13 +01:00
|
|
|
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
|
|
|
};
|
|
|
|
}
|