nixpkgs/pkgs/tools/system/gotop/default.nix
2020-05-14 07:22:21 +01:00

23 lines
636 B
Nix

{ stdenv, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "gotop";
version = "3.5.0";
src = fetchFromGitHub {
owner = "xxxserxxx";
repo = pname;
rev = "v${version}";
sha256 = "01a2y2604dh2zfy5f2fxr306id0fbq0df91fpz2m8w7rpaszd6xr";
};
vendorSha256 = "1ais548gii4q7xzysnw2ykjxyzb7azszsqdlp9hgiwp0bax9nj2n";
meta = with stdenv.lib; {
description = "A terminal based graphical activity monitor inspired by gtop and vtop";
homepage = "https://github.com/xxxserxxx/gotop";
license = licenses.agpl3;
maintainers = [ maintainers.magnetophon ];
platforms = platforms.unix;
};
}