@@ -0,0 +1,23 @@
1+{ stdenv, buildGoPackage, fetchFromGitHub }:
2+
3+buildGoPackage rec {
4+ name = "gotop-${version}";
5+ version = "1.2.9";
6+
7+ goPackagePath = "github.com/cjbassi/gotop";
8+
9+ src = fetchFromGitHub {
10+ repo = "gotop";
11+ owner = "cjbassi";
12+ rev = version;
13+ sha256 = "07s2f04yhc79vqr1gdh2v974kpn7flp4slnp99mavpa331lv9q8a";
14+ };
15+
16+ meta = with stdenv.lib; {
17+ description = "A terminal based graphical activity monitor inspired by gtop and vtop";
18+ homepage = https://github.com/cjbassi/gotop;
19+ license = licenses.agpl3;
20+ maintainers = [ maintainers.magnetophon ];
21+ platforms = platforms.linux;
22+ };
23+}