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