summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorCyril Roelandt <tipecaml@gmail.com>2013-08-30 21:19:56 +0200
committerCyril Roelandt <tipecaml@gmail.com>2013-09-02 19:47:36 +0200
commit340c7033a89a81242f5e55e9fc1473a274dd9ad2 (patch)
treee6c79a501eb49432cffcfb31d103baa47946bf8d /gnu/packages
parent1e151896d4fbd552a2e8dd66b16b7f746e0f6113 (diff)
downloadguix-340c7033a89a81242f5e55e9fc1473a274dd9ad2.tar.gz
gnu: Add htop.
* gnu/packages/system.scm (htop): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/system.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/system.scm b/gnu/packages/system.scm
index 47a57c54cc..2307393f85 100644
--- a/gnu/packages/system.scm
+++ b/gnu/packages/system.scm
@@ -1,5 +1,6 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2012, 2013 Ludovic Courtès <ludo@gnu.org>
+;;; Copyright © 2013 Cyril Roelandt <tipecaml@gmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -25,6 +26,27 @@
   #:use-module (gnu packages ncurses)
   #:use-module (gnu packages linux))
 
+(define-public htop
+  (package
+   (name "htop")
+   (version "1.0.2")
+   (source (origin
+            (method url-fetch)
+            (uri (string-append "mirror://sourceforge/htop/"
+                  version "/htop-" version ".tar.gz"))
+            (sha256
+             (base32
+              "18fqrhvnm7h4c3939av8lpiwrwxbyw6hcly0jvq0vkjf0ixnaq7f"))))
+   (build-system gnu-build-system)
+   (inputs
+    `(("ncurses" ,ncurses)))
+   (home-page "http://htop.sourceforge.net/")
+   (synopsis "Interactive process viewer")
+   (description
+    "This is htop, an interactive process viewer.  It is a text-mode
+application (for console or X terminals) and requires ncurses.")
+   (license gpl2)))
+
 (define-public pies
   (package
     (name "pies")