mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 13:41:26 +00:00
commit
606c9fcdf8
23
pkgs/tools/system/gotop/default.nix
Normal file
23
pkgs/tools/system/gotop/default.nix
Normal file
|
@ -0,0 +1,23 @@
|
|||
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
||||
|
||||
buildGoPackage rec {
|
||||
name = "gotop-${version}";
|
||||
version = "1.2.9";
|
||||
|
||||
goPackagePath = "github.com/cjbassi/gotop";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
repo = "gotop";
|
||||
owner = "cjbassi";
|
||||
rev = version;
|
||||
sha256 = "07s2f04yhc79vqr1gdh2v974kpn7flp4slnp99mavpa331lv9q8a";
|
||||
};
|
||||
|
||||
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.linux;
|
||||
};
|
||||
}
|
|
@ -13763,6 +13763,8 @@ with pkgs;
|
|||
|
||||
gotools = callPackage ../development/tools/gotools { };
|
||||
|
||||
gotop = callPackage ../tools/system/gotop { };
|
||||
|
||||
gomodifytags = callPackage ../development/tools/gomodifytags { };
|
||||
|
||||
go-langserver = callPackage ../development/tools/go-langserver { };
|
||||
|
|
Loading…
Reference in a new issue