guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 1/2 v2] gnu: Add htop.


From: Cyril Roelandt
Subject: [PATCH 1/2 v2] gnu: Add htop.
Date: Fri, 30 Aug 2013 23:07:16 +0200

* gnu/packages/sysutils.scm: New file.
* gnu-system.am: Add it.
---
 gnu-system.am             |    1 +
 gnu/packages/sysutils.scm |   46 +++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 47 insertions(+)
 create mode 100644 gnu/packages/sysutils.scm

diff --git a/gnu-system.am b/gnu-system.am
index 2600858..fc1872e 100644
--- a/gnu-system.am
+++ b/gnu-system.am
@@ -155,6 +155,7 @@ GNU_SYSTEM_MODULES =                                \
   gnu/packages/sqlite.scm                      \
   gnu/packages/ssh.scm                         \
   gnu/packages/system.scm                      \
+  gnu/packages/sysutils.scm                    \
   gnu/packages/tcl.scm                         \
   gnu/packages/tcsh.scm                                \
   gnu/packages/texinfo.scm                     \
diff --git a/gnu/packages/sysutils.scm b/gnu/packages/sysutils.scm
new file mode 100644
index 0000000..e7ee51f
--- /dev/null
+++ b/gnu/packages/sysutils.scm
@@ -0,0 +1,46 @@
+;;; GNU Guix --- Functional package management for GNU
+;;; Copyright © 2013 Cyril Roelandt <address@hidden>
+;;;
+;;; This file is part of GNU Guix.
+;;;
+;;; GNU Guix is free software; you can redistribute it and/or modify it
+;;; under the terms of the GNU General Public License as published by
+;;; the Free Software Foundation; either version 3 of the License, or (at
+;;; your option) any later version.
+;;;
+;;; GNU Guix is distributed in the hope that it will be useful, but
+;;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+;;; GNU General Public License for more details.
+;;;
+;;; You should have received a copy of the GNU General Public License
+;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.
+
+(define-module (gnu packages sysutils)
+  #:use-module (guix licenses)
+  #:use-module (guix packages)
+  #:use-module (guix download)
+  #:use-module (guix build-system gnu)
+  #:use-module (gnu packages)
+  #:use-module (gnu packages ncurses))
+
+(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 "An 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)))
-- 
1.7.10.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]