about summary refs log tree commit diff
diff options
context:
space:
mode:
authorYury G. Kudryashov <urkud.urkud@gmail.com>2007-09-02 16:54:08 +0000
committerYury G. Kudryashov <urkud.urkud@gmail.com>2007-09-02 16:54:08 +0000
commitc597a266316e93b0f172b790887572b822de904c (patch)
treeff06c887a348cf06714bbad1d42f641851c3b36b
parent19b7d76f819bbc319afd1cfb0b72bdee62453b9a (diff)
downloadnixlib-c597a266316e93b0f172b790887572b822de904c.tar
nixlib-c597a266316e93b0f172b790887572b822de904c.tar.gz
nixlib-c597a266316e93b0f172b790887572b822de904c.tar.bz2
nixlib-c597a266316e93b0f172b790887572b822de904c.tar.lz
nixlib-c597a266316e93b0f172b790887572b822de904c.tar.xz
nixlib-c597a266316e93b0f172b790887572b822de904c.tar.zst
nixlib-c597a266316e93b0f172b790887572b822de904c.zip
htop added
svn path=/nixpkgs/trunk/; revision=9241
-rw-r--r--pkgs/os-specific/linux/htop/default.nix14
-rw-r--r--pkgs/top-level/all-packages.nix4
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;
   };