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

26 lines
636 B
Nix
Raw Normal View History

2018-04-12 15:15:13 +01:00
{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
name = "gotop-${version}";
2018-12-18 00:52:07 +00:00
version = "1.7.1";
2018-04-12 15:15:13 +01:00
goPackagePath = "github.com/cjbassi/gotop";
src = fetchFromGitHub {
repo = "gotop";
owner = "cjbassi";
rev = version;
2018-12-18 00:52:07 +00:00
sha256 = "0dxnhal10kv6ypsg6mildzpz6vi1iw996q47f4rv8hvfyrffhzc9";
2018-04-12 15:15:13 +01:00
};
2018-12-18 00:52:07 +00:00
goDeps = ./deps.nix;
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
};
}