2015-08-17 16:08:44 -07:00
|
|
|
{ fetchFromGitHub, stdenv, autoreconfHook, ncurses }:
|
2007-09-02 09:54:08 -07:00
|
|
|
|
2012-04-04 07:46:17 -07:00
|
|
|
stdenv.mkDerivation rec {
|
2016-03-07 14:15:15 -08:00
|
|
|
name = "htop-${version}";
|
|
|
|
version = "2.0.1";
|
2011-07-08 15:45:28 -07:00
|
|
|
|
2015-08-17 16:08:44 -07:00
|
|
|
src = fetchFromGitHub {
|
2016-03-07 14:15:15 -08:00
|
|
|
sha256 = "0llj8ixgyjjq9vymsiysv7qnlc7f04jzm6lc9wm7nhcnymn7jg8z";
|
|
|
|
rev = version;
|
2015-08-17 16:08:44 -07:00
|
|
|
repo = "htop";
|
|
|
|
owner = "hishamhm";
|
2008-12-11 15:18:46 -08:00
|
|
|
};
|
2011-07-08 15:45:28 -07:00
|
|
|
|
2012-04-04 07:46:17 -07:00
|
|
|
buildInputs = [ ncurses ];
|
2015-08-17 16:08:44 -07:00
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
2011-07-08 15:45:28 -07:00
|
|
|
|
2015-09-06 17:08:23 -07:00
|
|
|
postPatch = ''
|
2015-09-10 20:12:06 -07:00
|
|
|
touch *.h */*.h # unnecessary regeneration requires Python
|
2015-09-06 17:08:23 -07:00
|
|
|
'';
|
|
|
|
|
2008-12-11 15:18:46 -08:00
|
|
|
meta = {
|
|
|
|
description = "An interactive process viewer for Linux";
|
|
|
|
homepage = "http://htop.sourceforge.net";
|
2010-08-13 16:11:58 -07:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2014-05-11 03:26:45 -07:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ rob simons relrod ];
|
2008-12-11 15:18:46 -08:00
|
|
|
};
|
2007-09-02 09:54:08 -07:00
|
|
|
}
|