htop: merge both implementations

htop 2.0+ is now cross-platform
This commit is contained in:
zimbatm
2016-03-19 22:18:53 +00:00
parent 1a7a7d8ef9
commit d9e60e4d43
3 changed files with 3 additions and 31 deletions

View File

@@ -0,0 +1,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 = https://hisham.hm/htop/;
license = licenses.gpl2Plus;
platforms = platforms.all;
maintainers = with maintainers; [ rob simons relrod nckx ];
};
}