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

24 lines
600 B
Nix
Raw Normal View History

2018-04-12 16:15:13 +02:00
{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
2019-04-10 22:22:48 +02:00
pname = "gotop";
version = "3.0.0";
2018-04-12 16:15:13 +02:00
goPackagePath = "github.com/cjbassi/gotop";
src = fetchFromGitHub {
owner = "cjbassi";
2019-04-10 22:22:48 +02:00
repo = pname;
2018-04-12 16:15:13 +02:00
rev = version;
2019-04-10 22:22:48 +02:00
sha256 = "1kndj5qjaqgizjakh642fay2i0i1jmfjlk1p01gnjbh2b0yzvj1r";
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/cjbassi/gotop;
license = licenses.agpl3;
maintainers = [ maintainers.magnetophon ];
platforms = platforms.unix;
2018-04-12 16:15:13 +02:00
};
}