summary refs log tree commit diff
path: root/pkgs/os-specific/linux/htop/default.nix
blob: 946b44346abdb458cdcdafc2a319aac240c166d8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ fetchurl, stdenv, ncurses }:

stdenv.mkDerivation rec {
  name = "htop-${version}";
  version = "2.0.1";

  src = fetchurl {
    sha256 = "0rjn9ybqx5sav7z4gn18f1q6k23nmqyb6yydfgghzdznz9nn447l";
    url = "http://hisham.hm/htop/releases/${version}/${name}.tar.gz";
  };

  buildInputs = [ ncurses ];

  meta = with stdenv.lib; {
    description = "An interactive process viewer for Linux";
    homepage = http://htop.sourceforge.net;
    license = licenses.gpl2Plus;
    platforms = platforms.linux;
    maintainers = with maintainers; [ rob simons relrod nckx ];
  };
}