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