2020-03-03 09:20:00 +00:00
|
|
|
{ stdenv, buildGoModule, fetchFromGitHub }:
|
2018-04-12 14:15:13 +00:00
|
|
|
|
2020-03-03 09:20:00 +00:00
|
|
|
buildGoModule rec {
|
2019-04-10 20:22:48 +00:00
|
|
|
pname = "gotop";
|
2020-05-19 07:00:24 +00:00
|
|
|
version = "3.5.2";
|
2018-04-12 14:15:13 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2020-03-03 09:20:00 +00:00
|
|
|
owner = "xxxserxxx";
|
2019-04-10 20:22:48 +00:00
|
|
|
repo = pname;
|
2020-03-03 09:20:00 +00:00
|
|
|
rev = "v${version}";
|
2020-05-19 07:00:24 +00:00
|
|
|
sha256 = "0d08pi213nzvj4vhd2sbri39qlxa7iazc8bcrikhmmr0pghjfwhn";
|
2018-04-12 14:15:13 +00:00
|
|
|
};
|
|
|
|
|
2020-05-01 01:59:00 +00:00
|
|
|
vendorSha256 = "1ais548gii4q7xzysnw2ykjxyzb7azszsqdlp9hgiwp0bax9nj2n";
|
2020-03-03 09:20:00 +00:00
|
|
|
|
2018-04-12 14:15:13 +00: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 14:15:13 +00:00
|
|
|
license = licenses.agpl3;
|
|
|
|
maintainers = [ maintainers.magnetophon ];
|
2018-07-23 11:45:28 +00:00
|
|
|
platforms = platforms.unix;
|
2018-04-12 14:15:13 +00:00
|
|
|
};
|
2020-05-01 01:59:00 +00:00
|
|
|
}
|