nixpkgs-suyu/pkgs/tools/system/gotop/default.nix

26 lines
657 B
Nix
Raw Normal View History

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