summary refs log tree commit diff
path: root/pkgs/os-specific/darwin/htop/default.nix
blob: 3f076b838d42a8b09648f8e368cdf5002b46f57d (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, autoconf, automake, IOKit }:

stdenv.mkDerivation rec {
  name = "htop-0.8.2.2";

  src = fetchurl {
    url = "https://github.com/max-horvath/htop-osx/archive/0.8.2.2.tar.gz";
    sha256 = "0qxibadn2lfqn10a5jmkv8r5ljfs0vaaa4j6psd7ppxa2w6bx5li";
  };

  buildInputs = [ autoconf automake ncurses IOKit ];

  preConfigure = "./autogen.sh";

  meta = {
    description = "An interactive process viewer for Mac OS X";
    homepage = "https://github.com/max-horvath/htop-osx";
    platforms = stdenv.lib.platforms.darwin;
    maintainers = with stdenv.lib.maintainers; [ joelteon ];
  };
}