diff --git a/pkgs/os-specific/linux/htop/default.nix b/pkgs/os-specific/linux/htop/default.nix new file mode 100644 index 00000000000..721068a5c72 --- /dev/null +++ b/pkgs/os-specific/linux/htop/default.nix @@ -0,0 +1,14 @@ +args: with args; +stdenv.mkDerivation { + name = "htop-0.6.6"; + src = fetchurl { + url = mirror://sourceforge/htop/htop-0.6.6.tar.gz; + sha256 = "1q2jlyxgvx7bj4z0vfvlpq1ap3ykzd9rp598fbpwjw68mwwyzqmj"; + }; + buildInputs = [ncurses]; + + meta = { + description = "An interactive process viewer for Linux"; + homepage = http://htop.sourceforge.net; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index e629b9902e9..2fc4e33bb6a 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -2487,6 +2487,10 @@ rec { inherit fetchurl stdenv; }; + htop = import ../os-specific/linux/htop { + inherit fetchurl stdenv ncurses; + }; + hwdata = import ../os-specific/linux/hwdata { inherit fetchurl stdenv; };