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

24 lines
612 B
Nix
Raw Normal View History

2018-04-12 15:15:13 +01:00
{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
name = "gotop-${version}";
2019-02-11 12:17:44 +00:00
version = "2.0.1";
2018-04-12 15:15:13 +01:00
goPackagePath = "github.com/cjbassi/gotop";
src = fetchFromGitHub {
repo = "gotop";
owner = "cjbassi";
rev = version;
2019-02-11 12:17:44 +00:00
sha256 = "0xpm8nrn53kz65f93czflgdgr2a33qfi1w0gsgngrmaliq1vlpji";
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/cjbassi/gotop;
license = licenses.agpl3;
maintainers = [ maintainers.magnetophon ];
platforms = platforms.unix;
2018-04-12 15:15:13 +01:00
};
}