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}";
2018-10-15 07:04:43 +01:00
version = "1.5.0";
2018-04-12 15:15:13 +01:00
goPackagePath = "github.com/cjbassi/gotop";
src = fetchFromGitHub {
repo = "gotop";
owner = "cjbassi";
rev = version;
2018-10-15 07:04:43 +01:00
sha256 = "19kj7mziwkfcf9kkwph05jh5vlkfqpyrpxdk5gdf2swg07w1ld35";
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
};
}