3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/system/gotop/default.nix

23 lines
636 B
Nix
Raw Normal View History

{ stdenv, buildGoModule, fetchFromGitHub }:
2018-04-12 15:15:13 +01:00
buildGoModule rec {
2019-04-10 21:22:48 +01:00
pname = "gotop";
2020-06-08 20:26:01 +01:00
version = "3.5.3";
2018-04-12 15:15:13 +01:00
src = fetchFromGitHub {
owner = "xxxserxxx";
2019-04-10 21:22:48 +01:00
repo = pname;
rev = "v${version}";
2020-06-08 20:26:01 +01:00
sha256 = "0m1a5bdqjgsm9fy3d2c6r4nil013cizqyqf19k6r4p9bq8rajnzp";
2018-04-12 15:15:13 +01:00
};
2020-06-08 20:26:01 +01:00
vendorSha256 = "1pxp0a1hldkdmh174adhq8q0wyz005g7wm8yxknchvp7krxi9r0v";
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/xxxserxxx/gotop";
2018-04-12 15:15:13 +01:00
license = licenses.agpl3;
maintainers = [ maintainers.magnetophon ];
platforms = platforms.unix;
2018-04-12 15:15:13 +01:00
};
}