2020-03-03 01:20:00 -08:00
|
|
|
{ stdenv, buildGoModule, fetchFromGitHub }:
|
2018-04-12 07:15:13 -07:00
|
|
|
|
2020-03-03 01:20:00 -08:00
|
|
|
buildGoModule rec {
|
2019-04-10 13:22:48 -07:00
|
|
|
pname = "gotop";
|
2020-06-14 09:28:11 -07:00
|
|
|
version = "4.0.1";
|
2018-04-12 07:15:13 -07:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2020-03-03 01:20:00 -08:00
|
|
|
owner = "xxxserxxx";
|
2019-04-10 13:22:48 -07:00
|
|
|
repo = pname;
|
2020-03-03 01:20:00 -08:00
|
|
|
rev = "v${version}";
|
2020-06-14 09:28:11 -07:00
|
|
|
sha256 = "10qfzmq1wdgpvv319khzicalix1x4fqava0wry3bzz84k5c9dabs";
|
2018-04-12 07:15:13 -07:00
|
|
|
};
|
|
|
|
|
2020-06-14 09:28:11 -07:00
|
|
|
vendorSha256 = "1crphp41bfivfmfp3cl7pjca3ypds6mr3847msd4wvfq4g6imk55";
|
2020-03-03 01:20:00 -08:00
|
|
|
|
2018-04-12 07:15:13 -07:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A terminal based graphical activity monitor inspired by gtop and vtop";
|
2020-03-03 01:20:00 -08:00
|
|
|
homepage = "https://github.com/xxxserxxx/gotop";
|
2018-04-12 07:15:13 -07:00
|
|
|
license = licenses.agpl3;
|
|
|
|
maintainers = [ maintainers.magnetophon ];
|
2018-07-23 04:45:28 -07:00
|
|
|
platforms = platforms.unix;
|
2018-04-12 07:15:13 -07:00
|
|
|
};
|
2020-04-30 18:59:00 -07:00
|
|
|
}
|