unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Cyril Roelandt <tipecaml@gmail.com>
To: guix-devel@gnu.org
Subject: [PATCH 1/2 v2] gnu: Add htop.
Date: Fri, 30 Aug 2013 23:07:16 +0200	[thread overview]
Message-ID: <1377896837-6547-1-git-send-email-tipecaml@gmail.com> (raw)
In-Reply-To: <1377893316-5136-1-git-send-email-tipecaml@gmail.com>

* 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 <tipecaml@gmail.com>
+;;;
+;;; 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

  parent reply	other threads:[~2013-08-30 21:11 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-30 20:08 [PATCH 0/2] Add tools for sysadmins: htop and dfc Cyril Roelandt
2013-08-30 20:08 ` [PATCH 1/2] gnu: Add htop Cyril Roelandt
2013-08-30 20:50   ` Nikita Karetnikov
2013-08-30 20:38     ` Cyril Roelandt
2013-08-30 21:26       ` Ludovic Courtès
2013-08-30 20:08 ` [PATCH 2/2] gnu: Add dfc Cyril Roelandt
2013-08-30 21:28   ` Ludovic Courtès
2013-08-30 20:58 ` [PATCH 0/2] Add tools for sysadmins: htop and dfc Nikita Karetnikov
2013-08-30 20:37   ` Cyril Roelandt
2013-08-30 21:50     ` Ludovic Courtès
2013-08-30 21:52     ` Nikita Karetnikov
2013-08-31  9:32       ` Ludovic Courtès
2013-08-31 17:38         ` Nikita Karetnikov
2013-08-30 21:07 ` Cyril Roelandt [this message]
2013-08-30 21:07   ` [PATCH 2/2 v2] gnu: Add dfc Cyril Roelandt
2013-08-31  9:24     ` Ludovic Courtès
2013-08-31  9:23   ` [PATCH 1/2 v2] gnu: Add htop Ludovic Courtès
2013-08-30 21:30 ` [PATCH 0/2] Add tools for sysadmins: htop and dfc Andreas Enge
2013-08-30 21:17   ` Cyril Roelandt
2013-08-31 15:51 ` Ludovic Courtès
2013-09-01 18:03 ` [PATCH 1/2 v3] gnu: Add htop Cyril Roelandt
2013-09-01 18:03   ` [PATCH 2/2 v3] gnu: Add dfc Cyril Roelandt
2013-09-01 19:50   ` [PATCH 1/2 v3] gnu: Add htop Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1377896837-6547-1-git-send-email-tipecaml@gmail.com \
    --to=tipecaml@gmail.com \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).