diff options
-rw-r--r-- | pkgs/os-specific/linux/htop/default.nix | 14 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 4 |
2 files changed, 18 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/htop/default.nix b/pkgs/os-specific/linux/htop/default.nix new file mode 100644 index 000000000000..721068a5c728 --- /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 e629b9902e96..2fc4e33bb6a2 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; }; |